WPA Supplicant / Windows Named Pipe -based control interface. More...
#include "includes.h"#include "common.h"#include "eloop.h"#include "config.h"#include "eapol_supp/eapol_supp_sm.h"#include "wpa_supplicant_i.h"#include "ctrl_iface.h"#include "wpa_ctrl.h"#include <sddl.h>Data Structures | |
| struct | wpa_ctrl_dst |
| Internal data structure of control interface clients. More... | |
| struct | ctrl_iface_priv |
| struct | wpa_global_dst |
| struct | ctrl_iface_global_priv |
Defines | |
| #define | _WIN32_WINNT 0x0500 |
| #define | WPA_SUPPLICANT_NAMED_PIPE "WpaSupplicant" |
| #define | NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) |
| #define | REQUEST_BUFSIZE 256 |
| #define | REPLY_BUFSIZE 4096 |
Functions | |
| struct ctrl_iface_priv * | wpa_supplicant_ctrl_iface_init (struct wpa_supplicant *wpa_s) |
| Initialize control interface. | |
| void | wpa_supplicant_ctrl_iface_deinit (struct ctrl_iface_priv *priv) |
| Deinitialize control interface. | |
| void | wpa_supplicant_ctrl_iface_wait (struct ctrl_iface_priv *priv) |
| Wait for ctrl_iface monitor. | |
| struct ctrl_iface_global_priv * | wpa_supplicant_global_ctrl_iface_init (struct wpa_global *global) |
| Initialize global control interface. | |
| void | wpa_supplicant_global_ctrl_iface_deinit (struct ctrl_iface_global_priv *priv) |
| Deinitialize global ctrl interface. | |
WPA Supplicant / Windows Named Pipe -based control interface.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
| void wpa_supplicant_ctrl_iface_deinit | ( | struct ctrl_iface_priv * | priv | ) |
Deinitialize control interface.
| priv | Pointer to private data from wpa_supplicant_ctrl_iface_init() |
Deinitialize the control interface that was initialized with wpa_supplicant_ctrl_iface_init().
Required to be implemented in each control interface backend.
| struct ctrl_iface_priv* wpa_supplicant_ctrl_iface_init | ( | struct wpa_supplicant * | wpa_s | ) | [read] |
Initialize control interface.
| wpa_s | Pointer to wpa_supplicant data |
Initialize the control interface and start receiving commands from external programs.
Required to be implemented in each control interface backend.
| void wpa_supplicant_ctrl_iface_wait | ( | struct ctrl_iface_priv * | priv | ) |
Wait for ctrl_iface monitor.
| priv | Pointer to private data from wpa_supplicant_ctrl_iface_init() |
Wait until the first message from an external program using the control interface is received. This function can be used to delay normal startup processing to allow control interface programs to attach with wpa_supplicant before normal operations are started.
Required to be implemented in each control interface backend.
| void wpa_supplicant_global_ctrl_iface_deinit | ( | struct ctrl_iface_global_priv * | priv | ) |
Deinitialize global ctrl interface.
| priv | Pointer to private data from wpa_supplicant_global_ctrl_iface_init() |
Deinitialize the global control interface that was initialized with wpa_supplicant_global_ctrl_iface_init().
Required to be implemented in each control interface backend.
| struct ctrl_iface_global_priv* wpa_supplicant_global_ctrl_iface_init | ( | struct wpa_global * | global | ) | [read] |
Initialize global control interface.
| global | Pointer to global data from wpa_supplicant_init() |
Initialize the global control interface and start receiving commands from external programs.
Required to be implemented in each control interface backend.
1.6.1