summaryrefslogtreecommitdiffstats
path: root/src/adapter.h
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-09-03 14:29:55 +0530
committerAlok Barsode <alok.barsode@azingo.com>2008-09-03 14:47:50 +0530
commitcef9cd308fbd34476e45794eabe1805dc87cd15e (patch)
tree471ab229e2ef6ea6bbb01e594d1dcd528eac3bee /src/adapter.h
parent6746732b80eb7cf483610dd4c390156f10fb2f3a (diff)
Moving struct adapter to adapter.c
Diffstat (limited to 'src/adapter.h')
-rw-r--r--src/adapter.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/adapter.h b/src/adapter.h
index 2fe1836b..d8293d35 100644
--- a/src/adapter.h
+++ b/src/adapter.h
@@ -92,34 +92,6 @@ struct hci_dev {
uint8_t class[3];
};
-struct adapter {
- uint16_t dev_id;
- int up;
- char *path; /* adapter object path */
- char address[18]; /* adapter Bluetooth Address */
- guint discov_timeout_id; /* discoverable timeout id */
- uint32_t discov_timeout; /* discoverable time(msec) */
- uint8_t scan_mode; /* scan mode: SCAN_DISABLED, SCAN_PAGE, SCAN_INQUIRY */
- uint8_t mode; /* off, connectable, discoverable, limited */
- 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 */
- DBusMessage *discovery_cancel; /* discovery cancel message request */
- GSList *passkey_agents;
- struct agent *agent; /* For the new API */
- GSList *active_conn;
- struct bonding_request_info *bonding;
- GSList *auth_reqs; /* Received and replied HCI
- authentication requests */
- GSList *devices; /* Devices structure pointers */
- GSList *mode_sessions; /* Request Mode sessions */
- GSList *disc_sessions; /* Discovery sessions */
- guint scheduler_id; /* Scheduler handle */
-
- struct hci_dev dev; /* hci info */
-};
-
int adapter_start(struct adapter *adapter);
int adapter_stop(struct adapter *adapter);