Updated: October 28, 2024 |
Check for pending event messages
#include <wpa_ctrl.h>
int wpa_ctrl_pending(struct wpa_ctrl *ctrl)
This function checks whether there are any events available to be received with wpa_ctrl_recv(). It can be used only for event messages, meaning wpa_ctrl_attach() must have been used to register the caller as an event monitor.