xref: /freebsd/contrib/wpa/src/ap/ctrl_iface_ap.h (revision 63d1fd5970ec814904aa0f4580b10a0d302d08b2)
1 /*
2  * Control interface for shared AP commands
3  * Copyright (c) 2004-2013, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef CTRL_IFACE_AP_H
10 #define CTRL_IFACE_AP_H
11 
12 int hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd,
13 				 char *buf, size_t buflen);
14 int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr,
15 			   char *buf, size_t buflen);
16 int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr,
17 				char *buf, size_t buflen);
18 int hostapd_ctrl_iface_deauthenticate(struct hostapd_data *hapd,
19 				      const char *txtaddr);
20 int hostapd_ctrl_iface_disassociate(struct hostapd_data *hapd,
21 				    const char *txtaddr);
22 int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
23 			      size_t buflen);
24 int hostapd_parse_csa_settings(const char *pos,
25 			       struct csa_settings *settings);
26 int hostapd_ctrl_iface_stop_ap(struct hostapd_data *hapd);
27 
28 #endif /* CTRL_IFACE_AP_H */
29