vendor/wpa_supplicant: upgrade from 2.1 to 2.9
[dragonfly.git] / contrib / wpa_supplicant / src / ap / ctrl_iface_ap.h
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_signature(struct hostapd_data *hapd,
23                                  const char *txtaddr,
24                                  char *buf, size_t buflen);
25 int hostapd_ctrl_iface_poll_sta(struct hostapd_data *hapd,
26                                 const char *txtaddr);
27 int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
28                               size_t buflen);
29 int hostapd_parse_csa_settings(const char *pos,
30                                struct csa_settings *settings);
31 int hostapd_ctrl_iface_stop_ap(struct hostapd_data *hapd);
32 int hostapd_ctrl_iface_pmksa_list(struct hostapd_data *hapd, char *buf,
33                                   size_t len);
34 void hostapd_ctrl_iface_pmksa_flush(struct hostapd_data *hapd);
35 int hostapd_ctrl_iface_pmksa_add(struct hostapd_data *hapd, char *cmd);
36 int hostapd_ctrl_iface_pmksa_list_mesh(struct hostapd_data *hapd,
37                                        const u8 *addr, char *buf, size_t len);
38 void * hostapd_ctrl_iface_pmksa_create_entry(const u8 *aa, char *cmd);
39
40 #endif /* CTRL_IFACE_AP_H */