aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/sta_info.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2004-06-04 04:20:46 (GMT)
committerJouni Malinen <j@w1.fi>2004-06-04 04:20:46 (GMT)
commit9b06ddb33f040bf8d37557be6c0dd9e08981d3f3 (patch)
tree7db440344927cb2f1d7d5f513b249cacb9ebc3e8 /hostapd/sta_info.h
parent0eb3e41137f80ab2ebdfef4b3659bc018dfc0446 (diff)
downloadhostap-history-9b06ddb33f040bf8d37557be6c0dd9e08981d3f3.zip
hostap-history-9b06ddb33f040bf8d37557be6c0dd9e08981d3f3.tar.gz
hostap-history-9b06ddb33f040bf8d37557be6c0dd9e08981d3f3.tar.bz2
Started making IEEE 802.1X/EAPOL Authenticator implementation more
modular/separated: - move EAPOL state machines related variables from struct sta_info into struct eapol_state_machine - do not touch struct eapol_state_machine contents outside eapol_sm.c and ieee802_1x.c (i.e., all read/write operations need to use wrapper functions for accessing the data); modifications to wpa.c are not yet finished
Diffstat (limited to 'hostapd/sta_info.h')
-rw-r--r--hostapd/sta_info.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/hostapd/sta_info.h b/hostapd/sta_info.h
index 73ecfda..93eeb5a 100644
--- a/hostapd/sta_info.h
+++ b/hostapd/sta_info.h
@@ -1,9 +1,11 @@
#ifndef STA_INFO_H
#define STA_INFO_H
+int ap_for_each_sta(struct hostapd_data *hapd,
+ int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
+ void *ctx),
+ void *ctx);
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);