From 22a1dc61ef8e4e1c98e3a088db1dbc84d424c7a7 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
- char *wpactrl_data (wpactrl_t *a)
-Returns a pointer to the unsolicited messages from wpa_supplicant
-that have been read by wpactrl_update() but haven't been
-acknowledged yet.
+ char *wpactrl_msg (wpactrl_t *a)
+Returns a pointer to the first unsolicited message from
+wpa_supplicant that has been read by wpactrl_update() but
+has not been acknowledged yet. If there's no such message,
+returns NULL.
- char *wpactrl_datalen (wpactrl_t *a)
-Returns the length of unsolicited messages from wpa_supplicant
-that have been read by wpactrl_update() but haven't been
-acknowledged yet.
-
- void wpactrl_ackdata (wpactrl_t *a)
-Acknowledges reading the latest batch of unsolicited messages
-from wpa_supplicant: allows the next invocation of
-wpactrl_update() to reuse the storage.
+ void wpactrl_nextmsg (wpactrl_t *a)
+Acknowledges reading of one unsolicited message from wpa_supplicant.
+The next invocation of wpactrl_msg() will point to the next
+one.
-- cgit v1.2.3