123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #ifndef IAPP_H
- #define IAPP_H
- struct iapp_data;
- #ifdef CONFIG_IAPP
- void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta);
- struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface);
- void iapp_deinit(struct iapp_data *iapp);
- int iapp_reconfig(struct hostapd_data *hapd, struct hostapd_config *oldconf,
- struct hostapd_bss_config *oldbss);
- #else
- static inline void iapp_new_station(struct iapp_data *iapp,
- struct sta_info *sta)
- {
- }
- static inline struct iapp_data * iapp_init(struct hostapd_data *hapd,
- const char *iface)
- {
- return NULL;
- }
- static inline void iapp_deinit(struct iapp_data *iapp)
- {
- }
- static inline int
- iapp_reconfig(struct hostapd_data *hapd, struct hostapd_config *oldconf,
- struct hostapd_bss_config *oldbss)
- {
- return 0;
- }
- #endif
- #endif
|