aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/sta_info.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2003-02-01 03:50:53 (GMT)
committerJouni Malinen <j@w1.fi>2003-02-01 03:50:53 (GMT)
commitcfcf91139c6f90121ba9768564ec1f5a9ebbadae (patch)
treef8b13e4e6abae344c494e7889f1edb711f0a6c14 /hostapd/sta_info.h
parent7b72c5e76de0ddbda55ff0212f310af7608d424d (diff)
downloadhostap-history-cfcf91139c6f90121ba9768564ec1f5a9ebbadae.zip
hostap-history-cfcf91139c6f90121ba9768564ec1f5a9ebbadae.tar.gz
hostap-history-cfcf91139c6f90121ba9768564ec1f5a9ebbadae.tar.bz2
Moved station table handling (add/del/get/expire) from hostapd.c into
own file (sta_info.c).
Diffstat (limited to 'hostapd/sta_info.h')
-rw-r--r--hostapd/sta_info.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/hostapd/sta_info.h b/hostapd/sta_info.h
new file mode 100644
index 0000000..876ee9a
--- /dev/null
+++ b/hostapd/sta_info.h
@@ -0,0 +1,13 @@
+#ifndef STA_INFO_H
+#define STA_INFO_H
+
+struct sta_info* ap_get_sta(hostapd *hapd, u8 *sta);
+struct sta_info* ap_get_sta_radius_identifier(hostapd *hapd,
+ u8 radius_identifier);
+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_handle_timer(void *eloop_ctx, void *timeout_ctx);
+
+#endif /* STA_INFO_H */