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:
e22d867
)
Add initial device capabilities defines
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 16 Oct 2008 05:29:30 +0000
(07:29 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 16 Oct 2008 05:29:30 +0000
(07:29 +0200)
include/device.h
patch
|
blob
|
history
diff --git
a/include/device.h
b/include/device.h
index
09d2856
..
994d997
100644
(file)
--- a/
include/device.h
+++ b/
include/device.h
@@
-44,6
+44,10
@@
enum connman_device_type {
CONNMAN_DEVICE_TYPE_BLUETOOTH = CONNMAN_ELEMENT_SUBTYPE_BLUETOOTH,
};
+enum connman_device_capabilities {
+ CONNMAN_DEVICE_CAPABILITY_SCANNING = (1 << 0),
+};
+
enum connman_device_state {
CONNMAN_DEVICE_STATE_UNKNOWN = 0,
CONNMAN_DEVICE_STATE_OFF = 1,
@@
-53,6
+57,7
@@
struct connman_device_driver;
struct connman_device {
struct connman_element *element;
+ unsigned long capabilities;
enum connman_device_state state;
struct connman_device_driver *driver;