property: Remove unused CONNMAN_PROPERTY_ID_IPV4_*
[framework/connectivity/connman.git] / include / driver.h
index 2932d4d..7c4f405 100644 (file)
@@ -2,7 +2,7 @@
  *
  *  Connection Manager
  *
- *  Copyright (C) 2007-2009  Intel Corporation. All rights reserved.
+ *  Copyright (C) 2007-2010  Intel Corporation. All rights reserved.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 2 as
@@ -41,17 +41,15 @@ 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);
-extern void connman_driver_unregister(struct connman_driver *driver);
+int connman_driver_register(struct connman_driver *driver);
+void connman_driver_unregister(struct connman_driver *driver);
 
 #ifdef __cplusplus
 }