summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-10-15 15:35:20 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-10-16 15:05:40 +0300
commit287c19dc6093d7b55f52741e1af90a742249a534 (patch)
tree16cd12fd2481a3427d83b17a00d41b1c4e98e3ea /include/device.h
parent402f621c827bce947fe1ae89529fa3860e904f62 (diff)
downloadconnman-287c19dc6093d7b55f52741e1af90a742249a534.tar.gz
connman-287c19dc6093d7b55f52741e1af90a742249a534.tar.bz2
connman-287c19dc6093d7b55f52741e1af90a742249a534.zip
device: Add a getter for powered property
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 5339e98b..470059b1 100644
--- a/include/device.h
+++ b/include/device.h
@@ -80,6 +80,7 @@ const char *connman_device_get_ident(struct connman_device *device);
int connman_device_set_powered(struct connman_device *device,
connman_bool_t powered);
+connman_bool_t connman_device_get_powered(struct connman_device *device);
int connman_device_set_scanning(struct connman_device *device,
connman_bool_t scanning);
connman_bool_t connman_device_get_scanning(struct connman_device *device);