Add support for changing static properties
[connman] / plugins / supplicant.h
index 2e2e4ea..48cf89b 100644 (file)
@@ -53,6 +53,7 @@ struct supplicant_network {
 struct supplicant_callback {
        void (*state_change) (struct connman_element *element,
                                                enum supplicant_state state);
+       void (*clear_results) (struct connman_element *element);
        void (*scan_result) (struct connman_element *element,
                                        struct supplicant_network *network);
 };
@@ -68,5 +69,5 @@ int __supplicant_scan(struct connman_element *element);
 
 int __supplicant_connect(struct connman_element *element,
                                const unsigned char *ssid, int ssid_len,
-                                                       const char *passphrase);
+                               const char *security, const char *passphrase);
 int __supplicant_disconnect(struct connman_element *element);