]>
git.ipfire.org Git - thirdparty/hostap.git/blob - src/ap/accounting.h
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 void accounting_sta_interim(struct hostapd_data
*hapd
, struct sta_info
*sta
);
13 #ifdef CONFIG_NO_ACCOUNTING
14 static inline void accounting_sta_start(struct hostapd_data
*hapd
,
19 static inline void accounting_sta_stop(struct hostapd_data
*hapd
,
24 static inline int accounting_init(struct hostapd_data
*hapd
)
29 static inline void accounting_deinit(struct hostapd_data
*hapd
)
32 #else /* CONFIG_NO_ACCOUNTING */
33 void accounting_sta_start(struct hostapd_data
*hapd
, struct sta_info
*sta
);
34 void accounting_sta_stop(struct hostapd_data
*hapd
, struct sta_info
*sta
);
35 int accounting_init(struct hostapd_data
*hapd
);
36 void accounting_deinit(struct hostapd_data
*hapd
);
37 #endif /* CONFIG_NO_ACCOUNTING */
39 #endif /* ACCOUNTING_H */