summaryrefslogtreecommitdiffstats
path: root/wifi-connman.h
diff options
context:
space:
mode:
authorMilan Srdinko <msrdinko@alps.cz>2017-02-01 13:31:05 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-02-06 20:18:32 +0000
commit5e433c62b99ed5d85fc1fa61b10551105edf6d6b (patch)
tree2d04c3f03733a57ae1e3f4e78c1805fb050bf486 /wifi-connman.h
parentb90397fb136d4e8b3bef68dfffd8e0e9b8658f6d (diff)
WiFi: reworked to support websockets and subscriptions for events
Change-Id: I2d1f2724d7c1efd64c12b7fa639436946209196e Signed-off-by: Milan Srdinko <msrdinko@alps.cz>
Diffstat (limited to 'wifi-connman.h')
-rw-r--r--wifi-connman.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/wifi-connman.h b/wifi-connman.h
index c47cbcd..90533dd 100644
--- a/wifi-connman.h
+++ b/wifi-connman.h
@@ -104,9 +104,10 @@ struct wifi_profile_info{
enum wifiStates {BAR_NO, BAR_1, BAR_2, BAR_3, BAR_FULL};
-//typedef void(*callback)(void);
-typedef void(*callback)(int password_rejected_flag);
-void register_callback(callback ptr);
+typedef void(*callback)(int number, const char* asciidata);
+void register_callbackSecurity(callback ptr);
+void register_callbackWiFiList(callback ptr);
+
int extract_values(GVariantIter *content, struct wifi_profile_info* wifiProfile);