summaryrefslogtreecommitdiff
path: root/src/mgmt.h
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2012-10-24 16:34:10 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-25 12:35:20 +0300
commita10a9f54abd0654d24b96ad7f47435c89735dfc2 (patch)
treebce19d03b7b2733c72bcf00cbe01211081d967d9 /src/mgmt.h
parent53b18295896dc988205704f5b9f93a3448324956 (diff)
adapter: Read mode in storage at init
Mgmt interface allows to change connectable and discoverable adapter status even if the adapter is off. So both status are changed during adapter init. Remove on_mode from btd_adapter_get_mode(), as it is no more used. Update src/mgmt.c and plugins/neard.c
Diffstat (limited to 'src/mgmt.h')
-rw-r--r--src/mgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mgmt.h b/src/mgmt.h
index a2c04976..daa168af 100644
--- a/src/mgmt.h
+++ b/src/mgmt.h
@@ -26,6 +26,7 @@ int mgmt_setup(void);
void mgmt_cleanup(void);
int mgmt_set_powered(int index, gboolean powered);
+int mgmt_set_connectable(int index, gboolean connectable);
int mgmt_set_discoverable(int index, gboolean discoverable, uint16_t timeout);
int mgmt_set_pairable(int index, gboolean pairable);
int mgmt_set_name(int index, const char *name);