summaryrefslogtreecommitdiffstats
path: root/src/adapter.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-08-29 18:14:39 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-08-29 18:14:39 -0300
commit75c562d773e5fe37f4257631318d7f918edc5b53 (patch)
tree1c66fc1385b06866294ca846515a5b591bc35fb8 /src/adapter.h
parent92dcfff75cea59c9e4c65ab2b1d45730a9076a6a (diff)
Make DiscoverDevices to create discover sessions.
Diffstat (limited to 'src/adapter.h')
-rw-r--r--src/adapter.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/adapter.h b/src/adapter.h
index e5432b66..a5e76bc3 100644
--- a/src/adapter.h
+++ b/src/adapter.h
@@ -104,11 +104,7 @@ struct adapter {
uint8_t global_mode; /* last valid global mode */
int state; /* standard inq, periodic inq, name resloving */
GSList *found_devices;
- GSList *oor_devices; /* out of range device list */
- char *pdiscov_requestor; /* periodic discovery requestor unique name */
- guint pdiscov_listener;
- char *discov_requestor; /* discovery requestor unique name */
- guint discov_listener;
+ GSList *oor_devices; /* out of range device list */
DBusMessage *discovery_cancel; /* discovery cancel message request */
GSList *passkey_agents;
struct agent *agent; /* For the new API */
@@ -117,7 +113,9 @@ struct adapter {
GSList *auth_reqs; /* Received and replied HCI
authentication requests */
GSList *devices; /* Devices structure pointers */
- GSList *sessions; /* Request Mode sessions */
+ GSList *mode_sessions; /* Request Mode sessions */
+ GSList *disc_sessions; /* Discovery sessions */
+ guint scheduler_id; /* Scheduler handle */
struct hci_dev dev; /* hci info */
};