projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5db19
)
Update notifier callback event declarations
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 11 Mar 2009 20:13:41 +0000
(21:13 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 11 Mar 2009 20:13:41 +0000
(21:13 +0100)
include/notifier.h
patch
|
blob
|
history
diff --git
a/include/notifier.h
b/include/notifier.h
index
fc9939c
..
046b8bf
100644
(file)
--- 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);