aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/sta_info.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-06-12 03:45:13 (GMT)
committerJouni Malinen <j@w1.fi>2005-06-12 03:45:13 (GMT)
commitc19f3b0e5752dd5a92d1a0c092c717763925fc0b (patch)
tree7d694177105987d8b1a1d722b98490dade83aebc /hostapd/sta_info.h
parent35c2d5b4cf4097da49a7edc70faedeead9dadfa5 (diff)
downloadhostap-history-c19f3b0e5752dd5a92d1a0c092c717763925fc0b.zip
hostap-history-c19f3b0e5752dd5a92d1a0c092c717763925fc0b.tar.gz
hostap-history-c19f3b0e5752dd5a92d1a0c092c717763925fc0b.tar.bz2
Mark some constant functions parameters const to make it easier to use
const elsewhere.
Diffstat (limited to 'hostapd/sta_info.h')
-rw-r--r--hostapd/sta_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostapd/sta_info.h b/hostapd/sta_info.h
index 417df71..e2d7b4e 100644
--- a/hostapd/sta_info.h
+++ b/hostapd/sta_info.h
@@ -5,7 +5,7 @@ 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(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);
@@ -14,6 +14,6 @@ void ap_handle_timer(void *eloop_ctx, void *timeout_ctx);
void ap_sta_session_timeout(hostapd *hapd, struct sta_info *sta,
u32 session_timeout);
void ap_sta_no_session_timeout(hostapd *hapd, struct sta_info *sta);
-struct sta_info * ap_sta_add(struct hostapd_data *hapd, u8 *addr);
+struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr);
#endif /* STA_INFO_H */