Import of hostapd 0.4.9
[dragonfly.git] / contrib / hostapd-0.4.9 / sta_info.h
blobe2d7b4ef4b6befce5c96c55f72322598bb6c71d2
1 #ifndef STA_INFO_H
2 #define STA_INFO_H
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);
19 #endif /* STA_INFO_H */