*
* Connection Manager
*
- * Copyright (C) 2007-2008 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
struct connman_driver {
const char *name;
enum connman_element_type type;
- enum connman_element_type 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
}