From e061175d100cbb068b572030b88981f83984287c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 5 Jan 2009 00:23:29 +0100 Subject: Add support for more device and network properties --- include/device.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/device.h') 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, -- cgit v1.2.3