2 * hostapd / RADIUS Accounting
3 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
12 #ifdef CONFIG_NO_ACCOUNTING
13 static inline void accounting_sta_get_id(struct hostapd_data *hapd,
18 static inline void accounting_sta_start(struct hostapd_data *hapd,
23 static inline void accounting_sta_stop(struct hostapd_data *hapd,
28 static inline int accounting_init(struct hostapd_data *hapd)
33 static inline void accounting_deinit(struct hostapd_data *hapd)
36 #else /* CONFIG_NO_ACCOUNTING */
37 void accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta);
38 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta);
39 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
40 int accounting_init(struct hostapd_data *hapd);
41 void accounting_deinit(struct hostapd_data *hapd);
42 #endif /* CONFIG_NO_ACCOUNTING */
44 #endif /* ACCOUNTING_H */