00001 /* 00002 * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP) 00003 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 */ 00014 00015 #ifndef IAPP_H 00016 #define IAPP_H 00017 00018 struct iapp_data; 00019 00020 #ifdef CONFIG_IAPP 00021 00022 void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta); 00023 struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface); 00024 void iapp_deinit(struct iapp_data *iapp); 00025 00026 #else /* CONFIG_IAPP */ 00027 00028 static inline void iapp_new_station(struct iapp_data *iapp, 00029 struct sta_info *sta) 00030 { 00031 } 00032 00033 static inline struct iapp_data * iapp_init(struct hostapd_data *hapd, 00034 const char *iface) 00035 { 00036 return NULL; 00037 } 00038 00039 static inline void iapp_deinit(struct iapp_data *iapp) 00040 { 00041 } 00042 00043 #endif /* CONFIG_IAPP */ 00044 00045 #endif /* IAPP_H */