projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f689472
)
Add callbacks for device connects and disconnects
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 26 Jun 2009 10:24:18 +0000
(12:24 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 26 Jun 2009 10:24:18 +0000
(12:24 +0200)
include/device.h
patch
|
blob
|
history
diff --git
a/include/device.h
b/include/device.h
index
8311607
..
d7ef248
100644
(file)
--- 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);