summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
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",