summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/adapter.c15
-rw-r--r--hcid/adapter.h15
2 files changed, 15 insertions, 15 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",
diff --git a/hcid/adapter.h b/hcid/adapter.h
index 6d2a38f1..d64930bc 100644
--- a/hcid/adapter.h
+++ b/hcid/adapter.h
@@ -80,21 +80,6 @@ struct pending_dc_info {
guint timeout_id;
};
-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 */
-};
-
struct adapter {
uint16_t dev_id;
int up;