List.mui: Update entries count prior to range change
[AROS.git] / workbench / network / WirelessManager / src / ap / accounting.h
blobf3d60f0155a64a9a1f441681f5e5fe1e52dd2395
1 /*
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
10 * license.
12 * See README and COPYING for more details.
15 #ifndef ACCOUNTING_H
16 #define ACCOUNTING_H
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,
21 struct sta_info *sta)
25 static inline void accounting_sta_stop(struct hostapd_data *hapd,
26 struct sta_info *sta)
30 static inline int accounting_init(struct hostapd_data *hapd)
32 return 0;
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 */