2 * hostapd / RADIUS Accounting
3 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
18 void accounting_sta_interim(struct hostapd_data
*hapd
, struct sta_info
*sta
);
19 #ifdef CONFIG_NO_ACCOUNTING
20 static inline void accounting_sta_start(struct hostapd_data
*hapd
,
25 static inline void accounting_sta_stop(struct hostapd_data
*hapd
,
30 static inline int accounting_init(struct hostapd_data
*hapd
)
35 static inline void accounting_deinit(struct hostapd_data
*hapd
)
38 #else /* CONFIG_NO_ACCOUNTING */
39 void accounting_sta_start(struct hostapd_data
*hapd
, struct sta_info
*sta
);
40 void accounting_sta_stop(struct hostapd_data
*hapd
, struct sta_info
*sta
);
41 int accounting_init(struct hostapd_data
*hapd
);
42 void accounting_deinit(struct hostapd_data
*hapd
);
43 #endif /* CONFIG_NO_ACCOUNTING */
45 #endif /* ACCOUNTING_H */