summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-24 11:42:18 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-24 11:42:18 +0100
commit7a3e397e2cc0c275f81eec419fa144ad258b4b87 (patch)
tree97697c9f94b35441c2988f8cbf656f53f08d84ff /include
parent180502c98a76dff1ac48b4de5203fff4b6644418 (diff)
downloadconnman-7a3e397e2cc0c275f81eec419fa144ad258b4b87.tar.gz
connman-7a3e397e2cc0c275f81eec419fa144ad258b4b87.tar.bz2
connman-7a3e397e2cc0c275f81eec419fa144ad258b4b87.zip
Add support for device power functions
Diffstat (limited to 'include')
-rw-r--r--include/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 1645a085..4985f6e8 100644
--- a/include/device.h
+++ b/include/device.h
@@ -95,6 +95,8 @@ struct connman_device_driver {
int priority;
int (*probe) (struct connman_device *device);
void (*remove) (struct connman_device *device);
+ int (*enable) (struct connman_device *device);
+ int (*disable) (struct connman_device *device);
int (*scan) (struct connman_device *device);
};