aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/sta_info.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2006-02-24 04:41:13 (GMT)
committerJouni Malinen <j@w1.fi>2006-02-24 04:41:13 (GMT)
commit2151b35b849e18a364b1fe1c0d5aaa28d096999e (patch)
tree51106ce856784d007229956954666aec12e91099 /hostapd/sta_info.h
parentd4def25d572ddbee86a490424f7fcf380783fe23 (diff)
downloadhostap-history-2151b35b849e18a364b1fe1c0d5aaa28d096999e.zip
hostap-history-2151b35b849e18a364b1fe1c0d5aaa28d096999e.tar.gz
hostap-history-2151b35b849e18a364b1fe1c0d5aaa28d096999e.tar.bz2
Got rid of deprecated hostapd typedef and replace remaining uses with
full "struct hostapd_data". Made couple of function parameters 'const' as a start of cleanup for hostapd side (wpa_supplicant uses this much more consistently).
Diffstat (limited to 'hostapd/sta_info.h')
-rw-r--r--hostapd/sta_info.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/hostapd/sta_info.h b/hostapd/sta_info.h
index d43201a..1774c6a 100644
--- a/hostapd/sta_info.h
+++ b/hostapd/sta_info.h
@@ -20,14 +20,15 @@ int ap_for_each_sta(struct hostapd_data *hapd,
void *ctx),
void *ctx);
struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
-void ap_sta_hash_add(hostapd *hapd, struct sta_info *sta);
-void ap_free_sta(hostapd *hapd, struct sta_info *sta);
-void ap_free_sta(hostapd *hapd, struct sta_info *sta);
-void hostapd_free_stas(hostapd *hapd);
+void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
+void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
+void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
+void hostapd_free_stas(struct hostapd_data *hapd);
void ap_handle_timer(void *eloop_ctx, void *timeout_ctx);
-void ap_sta_session_timeout(hostapd *hapd, struct sta_info *sta,
+void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
u32 session_timeout);
-void ap_sta_no_session_timeout(hostapd *hapd, struct sta_info *sta);
+void ap_sta_no_session_timeout(struct hostapd_data *hapd,
+ struct sta_info *sta);
struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr);
#endif /* STA_INFO_H */