summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-14 21:47:32 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-14 21:47:32 +0000
commitb4fcae17e8a9f6242b752bfb9808248cadbde43b (patch)
treeac8938b3e44b69d1bdbb684d1b106f321d6ef855 /hcid/adapter.h
parent9bafbc5c70f6dde0f9219aea446d21f653826888 (diff)
Introduce adapter method RequestMode.
Diffstat (limited to 'hcid/adapter.h')
-rw-r--r--hcid/adapter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hcid/adapter.h b/hcid/adapter.h
index a09dd37e..6d2a38f1 100644
--- a/hcid/adapter.h
+++ b/hcid/adapter.h
@@ -88,6 +88,13 @@ struct create_device_req {
char *agent_path; /* Agent object path */
};
+struct mode_req {
+ struct adapter *adapter;
+ DBusConnection *conn; /* Connection reference */
+ DBusMessage *msg; /* Message reference */
+ char *mode; /* Requested mode */
+};
+
struct adapter {
uint16_t dev_id;
int up;