From bf75ed37f83e41786ce550accaa413d83875f218 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 26 Jun 2009 12:24:18 +0200 Subject: [PATCH] Add callbacks for device connects and disconnects --- include/device.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/device.h b/include/device.h index 8311607..d7ef248 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); -- 2.7.4