Merge from vendor branch BIND:
[dragonfly.git] / contrib / hostapd-0.4.9 / sta_info.h
1 #ifndef STA_INFO_H
2 #define STA_INFO_H
3
4 int ap_for_each_sta(struct hostapd_data *hapd,
5                     int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
6                               void *ctx),
7                     void *ctx);
8 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
9 void ap_sta_hash_add(hostapd *hapd, struct sta_info *sta);
10 void ap_free_sta(hostapd *hapd, struct sta_info *sta);
11 void ap_free_sta(hostapd *hapd, struct sta_info *sta);
12 void hostapd_free_stas(hostapd *hapd);
13 void ap_handle_timer(void *eloop_ctx, void *timeout_ctx);
14 void ap_sta_session_timeout(hostapd *hapd, struct sta_info *sta,
15                             u32 session_timeout);
16 void ap_sta_no_session_timeout(hostapd *hapd, struct sta_info *sta);
17 struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr);
18
19 #endif /* STA_INFO_H */