iapp.h

Go to the documentation of this file.
00001 
00016 #ifndef IAPP_H
00017 #define IAPP_H
00018 
00019 struct iapp_data;
00020 
00021 #ifdef CONFIG_IAPP
00022 
00023 void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta);
00024 struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface);
00025 void iapp_deinit(struct iapp_data *iapp);
00026 int iapp_reconfig(struct hostapd_data *hapd, struct hostapd_config *oldconf,
00027                   struct hostapd_bss_config *oldbss);
00028 
00029 #else /* CONFIG_IAPP */
00030 
00031 static inline void iapp_new_station(struct iapp_data *iapp,
00032                                     struct sta_info *sta)
00033 {
00034 }
00035 
00036 static inline struct iapp_data * iapp_init(struct hostapd_data *hapd,
00037                                            const char *iface)
00038 {
00039         return NULL;
00040 }
00041 
00042 static inline void iapp_deinit(struct iapp_data *iapp)
00043 {
00044 }
00045 
00046 static inline int
00047 iapp_reconfig(struct hostapd_data *hapd, struct hostapd_config *oldconf,
00048               struct hostapd_bss_config *oldbss)
00049 {
00050         return 0;
00051 }
00052 
00053 #endif /* CONFIG_IAPP */
00054 
00055 #endif /* IAPP_H */
00056 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:16:48 2009 for hostapd by  doxygen 1.6.1