summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-24 13:34:45 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-24 13:34:45 +0100
commit720b8692c453b14829b85b0c5647e7babe7a4752 (patch)
tree8353ef0be6387a6d864edb3e009608cf543dcbc3 /include
parent84562870a1fa54e4ef768a52433044194efb2359 (diff)
downloadconnman-720b8692c453b14829b85b0c5647e7babe7a4752.tar.gz
connman-720b8692c453b14829b85b0c5647e7babe7a4752.tar.bz2
connman-720b8692c453b14829b85b0c5647e7babe7a4752.zip
Add Type property to generic device driver
Diffstat (limited to 'include')
-rw-r--r--include/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 48363957..ba7fe1e0 100644
--- a/include/device.h
+++ b/include/device.h
@@ -42,6 +42,7 @@ enum connman_device_type {
CONNMAN_DEVICE_TYPE_WIMAX = CONNMAN_ELEMENT_SUBTYPE_WIMAX,
CONNMAN_DEVICE_TYPE_MODEM = CONNMAN_ELEMENT_SUBTYPE_MODEM,
CONNMAN_DEVICE_TYPE_BLUETOOTH = CONNMAN_ELEMENT_SUBTYPE_BLUETOOTH,
+ CONNMAN_DEVICE_TYPE_VENDOR = 42,
};
enum connman_device_capabilities {
@@ -64,6 +65,7 @@ struct connman_device_driver;
struct connman_device {
struct connman_element *element;
+ enum connman_device_type type;
unsigned long capabilities;
enum connman_device_policy policy;
enum connman_device_state state;