summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-06-26 12:24:18 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-06-26 12:24:18 +0200
commitbf75ed37f83e41786ce550accaa413d83875f218 (patch)
treed825b5b656606b5d902816317390693a4a9fa83a /include/device.h
parentf6894721181f66414f91463b1baa83a7a68e19f0 (diff)
downloadconnman-bf75ed37f83e41786ce550accaa413d83875f218.tar.gz
connman-bf75ed37f83e41786ce550accaa413d83875f218.tar.bz2
connman-bf75ed37f83e41786ce550accaa413d83875f218.zip
Add callbacks for device connects and disconnects
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 8311607b..d7ef2482 100644
--- a/include/device.h
+++ b/include/device.h
@@ -128,6 +128,8 @@ struct connman_device_driver {
void (*remove) (struct connman_device *device);
int (*enable) (struct connman_device *device);
int (*disable) (struct connman_device *device);
+ int (*connect) (struct connman_device *device);
+ int (*disconnect) (struct connman_device *device);
int (*scan) (struct connman_device *device);
int (*join) (struct connman_device *device,
struct connman_network *network);