diff options
author | Alok Barsode <alok.barsode@azingo.com> | 2008-07-09 14:36:49 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-07-28 10:36:22 -0300 |
commit | ea245383ac6650cbf34c327ed095d956b84ac5fb (patch) | |
tree | 494624c9886a482f0438cf69ab8e56b1f5f5a3a1 /hcid/device.c | |
parent | 2203f153c53189ec1c30df99b717e035681196e6 (diff) |
Moving struct device to device.c
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'hcid/device.c')
-rw-r--r-- | hcid/device.c | 19 |
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; |