iapp.h revision 8d520ff1dc2da35cdca849e982051b86468016d8
1/* 2 * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP) 3 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * 9 * Alternatively, this software may be distributed under the terms of BSD 10 * license. 11 * 12 * See README and COPYING for more details. 13 */ 14 15#ifndef IAPP_H 16#define IAPP_H 17 18struct iapp_data; 19 20#ifdef CONFIG_IAPP 21 22void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta); 23struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface); 24void iapp_deinit(struct iapp_data *iapp); 25 26#else /* CONFIG_IAPP */ 27 28static inline void iapp_new_station(struct iapp_data *iapp, 29 struct sta_info *sta) 30{ 31} 32 33static inline struct iapp_data * iapp_init(struct hostapd_data *hapd, 34 const char *iface) 35{ 36 return NULL; 37} 38 39static inline void iapp_deinit(struct iapp_data *iapp) 40{ 41} 42 43#endif /* CONFIG_IAPP */ 44 45#endif /* IAPP_H */ 46