Add support for more device and network properties
[connman] / include / device.h
index b14b9b1..8af7d28 100644 (file)
@@ -70,8 +70,6 @@ extern struct connman_device *connman_device_create(const char *node,
 extern struct connman_device *connman_device_ref(struct connman_device *device);
 extern void connman_device_unref(struct connman_device *device);
 
-extern void connman_device_set_path(struct connman_device *device,
-                                                       const char *path);
 extern const char *connman_device_get_path(struct connman_device *device);
 extern void connman_device_set_index(struct connman_device *device,
                                                                int index);
@@ -92,6 +90,11 @@ extern int connman_device_set_carrier(struct connman_device *device,
 extern int connman_device_set_scanning(struct connman_device *device,
                                                connman_bool_t scanning);
 
+extern int connman_device_set_string(struct connman_device *device,
+                                       const char *key, const char *value);
+extern const char *connman_device_get_string(struct connman_device *device,
+                                                       const char *key);
+
 extern int connman_device_add_network(struct connman_device *device,
                                        struct connman_network *network);
 extern struct connman_network *connman_device_get_network(struct connman_device *device,