summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-05 02:44:00 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-05 02:44:00 +0100
commit42ec7c7c913713e48ff9c3c641db662e3522d3a8 (patch)
tree4af8796833a4cbab5e18a4f40b27acbc183b63d7 /include/device.h
parent95bdfbfe8962c3479527285088594dd657d7a6e0 (diff)
downloadconnman-42ec7c7c913713e48ff9c3c641db662e3522d3a8.tar.gz
connman-42ec7c7c913713e48ff9c3c641db662e3522d3a8.tar.bz2
connman-42ec7c7c913713e48ff9c3c641db662e3522d3a8.zip
Add function to get device name
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 8af7d282..350890fb 100644
--- a/include/device.h
+++ b/include/device.h
@@ -70,6 +70,7 @@ 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 const char *connman_device_get_name(struct connman_device *device);
extern const char *connman_device_get_path(struct connman_device *device);
extern void connman_device_set_index(struct connman_device *device,
int index);