Merge commit 'crater/master'
[dragonfly.git] / contrib / hostapd-0.5.8 / accounting.h
blobee2ee64e3b029616f3afb369f9186c16e9c04c45
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_start(struct hostapd_data *hapd, struct sta_info *sta);
19 void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta);
20 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
21 void accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta);
22 int accounting_init(struct hostapd_data *hapd);
23 void accounting_deinit(struct hostapd_data *hapd);
24 int accounting_reconfig(struct hostapd_data *hapd,
25 struct hostapd_config *oldconf);
27 #endif /* ACCOUNTING_H */