summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-05 00:23:29 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-05 00:23:29 +0100
commite061175d100cbb068b572030b88981f83984287c (patch)
tree7031e3cfc59156e29519d0e5340b8e4609a406bd /include/device.h
parenta2a0ab77eb03a56044c13ca5886065d092364481 (diff)
downloadconnman-e061175d100cbb068b572030b88981f83984287c.tar.gz
connman-e061175d100cbb068b572030b88981f83984287c.tar.bz2
connman-e061175d100cbb068b572030b88981f83984287c.zip
Add support for more device and network properties
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/device.h b/include/device.h
index b14b9b16..8af7d282 100644
--- a/include/device.h
+++ b/include/device.h
@@ -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,