diff options
author | Alok Barsode <alok.barsode@azingo.com> | 2008-07-09 12:57:13 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-07-28 10:34:17 -0300 |
commit | 46fd7beaa5b27f74e64d77449247e5459d7a3084 (patch) | |
tree | 1b9d312654022718b0e9368774bdbd919557736d /hcid/device.c | |
parent | aec749f0732638f182c4b50fb59d6c905a80d42d (diff) |
Adding device_get_path.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'hcid/device.c')
-rw-r--r-- | hcid/device.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hcid/device.c b/hcid/device.c index dffbdcde..008afa7e 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -944,6 +944,14 @@ const gchar *device_get_address(struct device *device) return device->address; } +const gchar *device_get_path(struct device *device) +{ + if (!device) + return NULL; + + return device->path; +} + int btd_register_device_driver(struct btd_device_driver *driver) { const char **uuid; |