Add option for selecting WiFi/Supplicant driver from command line
[connman] / include / driver.h
index 2932d4d..61ec465 100644 (file)
@@ -41,13 +41,11 @@ extern "C" {
 struct connman_driver {
        const char *name;
        enum connman_element_type type;
-       enum connman_element_subtype subtype;
        int priority;
        int (*probe) (struct connman_element *element);
        void (*remove) (struct connman_element *element);
-       int (*update) (struct connman_element *element);
-       int (*enable) (struct connman_element *element);
-       int (*disable) (struct connman_element *element);
+       void (*update) (struct connman_element *element);
+       void (*change) (struct connman_element *element);
 };
 
 extern int connman_driver_register(struct connman_driver *driver);