summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/adapter.h')
-rw-r--r--hcid/adapter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hcid/adapter.h b/hcid/adapter.h
index d27f85ef..98eaf8fe 100644
--- a/hcid/adapter.h
+++ b/hcid/adapter.h
@@ -103,7 +103,7 @@ struct adapter {
int up;
char *path; /* adapter object path */
char address[18]; /* adapter Bluetooth Address */
- guint timeout_id; /* discoverable timeout id */
+ guint discov_timeout_id; /* discoverable timeout id */
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 */
@@ -179,3 +179,5 @@ uint16_t adapter_get_dev_id(struct adapter *adapter);
const gchar *adapter_get_path(struct adapter *adapter);
const gchar *adapter_get_address(struct adapter *adapter);
void adapter_free(struct adapter *adapter);
+void adapter_set_discov_timeout(struct adapter *adapter, guint interval);
+void adapter_remove_discov_timeout(struct adapter *adapter);