diff options
author | Alok Barsode <alok.barsode@azingo.com> | 2008-07-25 15:12:22 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-07-29 10:53:30 -0300 |
commit | 1946813bd002a64a37feb7044d7b1eb88992c2f6 (patch) | |
tree | adbd053a519d36988511ad34b2ebdbda7e3f9eaf /hcid/adapter.h | |
parent | 149d5994868e05c44d8e1dfd0547a126e6c48e11 (diff) |
Adding adapter_set_discov_timeout and adapter_remove_discov_timeout.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'hcid/adapter.h')
-rw-r--r-- | hcid/adapter.h | 4 |
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); |