|
wpa_supplicant / hostapd
2.5
|
wpa_supplicant/hostapd control interface library More...
Data Structures | |
| struct | wpa_ctrl |
| Internal structure for control interface library. More... | |
Functions | |
| int | wpa_ctrl_attach (struct wpa_ctrl *ctrl) |
| Register as an event monitor for the control interface. More... | |
| int | wpa_ctrl_detach (struct wpa_ctrl *ctrl) |
| Unregister event monitor from the control interface. More... | |
wpa_supplicant/hostapd control interface library
| int wpa_ctrl_attach | ( | struct wpa_ctrl * | ctrl | ) |
Register as an event monitor for the control interface.
| ctrl | Control interface data from wpa_ctrl_open() |
This function registers the control interface connection as a monitor for wpa_supplicant/hostapd events. After a success wpa_ctrl_attach() call, the control interface connection starts receiving event messages that can be read with wpa_ctrl_recv().
| int wpa_ctrl_detach | ( | struct wpa_ctrl * | ctrl | ) |
Unregister event monitor from the control interface.
| ctrl | Control interface data from wpa_ctrl_open() |
This function unregisters the control interface connection as a monitor for wpa_supplicant/hostapd events, i.e., cancels the registration done with wpa_ctrl_attach().
1.8.6