summaryrefslogtreecommitdiff
path: root/include/notifier.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-11 21:13:41 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-11 21:13:41 +0100
commita8764dd1a3bb5f33f7c12260d61603d724c42fc4 (patch)
tree2fae4c32af2c276f6c2007f8b56dcf371ce8d7d3 /include/notifier.h
parentdd5db19baeec6c4d586b23cd590cce53bfea044d (diff)
downloadconnman-a8764dd1a3bb5f33f7c12260d61603d724c42fc4.tar.gz
connman-a8764dd1a3bb5f33f7c12260d61603d724c42fc4.tar.bz2
connman-a8764dd1a3bb5f33f7c12260d61603d724c42fc4.zip
Update notifier callback event declarations
Diffstat (limited to 'include/notifier.h')
-rw-r--r--include/notifier.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/notifier.h b/include/notifier.h
index fc9939c2..046b8bf5 100644
--- a/include/notifier.h
+++ b/include/notifier.h
@@ -41,8 +41,9 @@ extern "C" {
struct connman_notifier {
const char *name;
int priority;
- int (*device_powered) (struct connman_device *device,
- connman_bool_t powered);
+ void (*device_enabled) (enum connman_device_type type,
+ connman_bool_t enabled);
+ void (*offline_mode) (connman_bool_t enabled);
};
extern int connman_notifier_register(struct connman_notifier *notifier);