123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef ACCOUNTING_H
- #define ACCOUNTING_H
- void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta);
- #ifdef CONFIG_NO_ACCOUNTING
- static inline void accounting_sta_start(struct hostapd_data *hapd,
- struct sta_info *sta)
- {
- }
- static inline void accounting_sta_stop(struct hostapd_data *hapd,
- struct sta_info *sta)
- {
- }
- static inline int accounting_init(struct hostapd_data *hapd)
- {
- return 0;
- }
- static inline void accounting_deinit(struct hostapd_data *hapd)
- {
- }
- #else
- void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta);
- void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
- int accounting_init(struct hostapd_data *hapd);
- void accounting_deinit(struct hostapd_data *hapd);
- #endif
- #endif
|