summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-04-02 19:15:52 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-04-02 19:15:52 +0000
commit0d753f3a8fd1de89f9f43a6bdb69068fd420d905 (patch)
treec75cee156fead63f0cfa546a8205cb3a70c84bb0 /hcid/adapter.h
parent7cb5a5bb95c386ad265e7865d87f710745812d82 (diff)
Add RequestMode sessions support.
Diffstat (limited to 'hcid/adapter.h')
-rw-r--r--hcid/adapter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/adapter.h b/hcid/adapter.h
index 82e4f68c..f520f718 100644
--- a/hcid/adapter.h
+++ b/hcid/adapter.h
@@ -88,6 +88,7 @@ struct adapter {
uint32_t discov_timeout; /* discoverable time(msec) */
uint8_t scan_enable; /* scan mode: SCAN_DISABLED, SCAN_PAGE, SCAN_INQUIRY */
uint8_t mode; /* off, connectable, discoverable, limited */
+ uint8_t last_mode; /* last mode changed */
uint8_t class[3]; /* device class */
int discov_active; /* standard discovery active: includes name resolution step */
int pdiscov_active; /* periodic discovery active */
@@ -109,6 +110,7 @@ struct adapter {
struct pending_dc_info *pending_dc;
struct create_device_req *create;
GSList *devices; /* Devices structure pointers */
+ GSList *sessions; /* Request Mode sessions */
};
dbus_bool_t adapter_init(DBusConnection *conn, const char *path);