summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-14 21:57:06 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-14 21:57:06 +0000
commit94a757fea37ba19b3dec1a3318f49d667394f6eb (patch)
treeeb0cc431fcaee8cd00f28a7146ab02da740d764d /hcid/adapter.c
parent10364cafd89f5a3a5bb6c2ea732f8b04dc729d96 (diff)
Move private structs from adapter.c to adapter.h
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r--hcid/adapter.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index ebcfb51a..a17ee5eb 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -68,6 +68,21 @@
#define NUM_ELEMENTS(table) (sizeof(table)/sizeof(const char *))
+struct create_device_req {
+ char address[18]; /* Destination address */
+ DBusConnection *conn; /* Connection reference */
+ DBusMessage *msg; /* Message reference */
+ guint id; /* Listener id */
+ char *agent_path; /* Agent object path */
+};
+
+struct mode_req {
+ struct adapter *adapter;
+ DBusConnection *conn; /* Connection reference */
+ DBusMessage *msg; /* Message reference */
+ char *mode; /* Requested mode */
+};
+
static const char *service_cls[] = {
"positioning",
"networking",