summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/hcid/device.c b/hcid/device.c
index 8d63590c..966d9ec0 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -68,6 +68,25 @@
#define DEVICE_INTERFACE "org.bluez.Device"
+struct device {
+ struct btd_device dev;
+ gchar *address;
+ gchar *path;
+ struct adapter *adapter;
+ GSList *uuids;
+ GSList *drivers;
+ gboolean temporary;
+ struct agent *agent;
+ guint disconn_timer;
+ int discov_active; /* Service discovery active */
+ char *discov_requestor; /* discovery requestor unique name */
+ guint discov_listener;
+
+ /* For Secure Simple Pairing */
+ uint8_t cap;
+ uint8_t auth;
+};
+
struct browse_req {
DBusConnection *conn;
DBusMessage *msg;