aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/accounting.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-23 09:12:17 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-23 09:12:17 (GMT)
commit2fc98d02c1a4239148d6483ec9bd88db9b24afe5 (patch)
tree6da3656b510d5795bc9b9dfd759711e70de31c7d /hostapd/accounting.h
parent74bd7dae63983f7fb84d7f9f64c607ed9db8cff2 (diff)
downloadhostap-06-2fc98d02c1a4239148d6483ec9bd88db9b24afe5.zip
hostap-06-2fc98d02c1a4239148d6483ec9bd88db9b24afe5.tar.gz
hostap-06-2fc98d02c1a4239148d6483ec9bd88db9b24afe5.tar.bz2
Simplified RADIUS accounting id usage
Changed accounting_sta_start() to call accounting_sta_get_id() internally in accounting.c so that external callers do not need to do anything to allocate unique accounting id. When starting a new session, a unique identifier is needed anyway, so no need to keep these operations separate.
Diffstat (limited to 'hostapd/accounting.h')
-rw-r--r--hostapd/accounting.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hostapd/accounting.h b/hostapd/accounting.h
index ee2ee64..51e6b4d 100644
--- a/hostapd/accounting.h
+++ b/hostapd/accounting.h
@@ -18,7 +18,6 @@
void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta);
void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta);
void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
-void accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta);
int accounting_init(struct hostapd_data *hapd);
void accounting_deinit(struct hostapd_data *hapd);
int accounting_reconfig(struct hostapd_data *hapd,