summaryrefslogtreecommitdiffstats
path: root/src/manager.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-12-22 19:33:41 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-22 11:36:21 +0200
commitad37d886cc54a9a975f0f5322165bbb2855dac7f (patch)
tree7958db7c3960c9ab35a4a886cc3fc92335ec9d1b /src/manager.h
parent2310cdaf70c36422a95c0b1832decf86deb894bf (diff)
Cleanup adapters on exit.
When bluetoothd is terminated any remaining registered adapters should be unregistered (including proper D-Bus signal emition) and have their drivers removed. The adapters should also be brought down unless they were already up upon initialization.
Diffstat (limited to 'src/manager.h')
-rw-r--r--src/manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.h b/src/manager.h
index d0e30a89..eb087b95 100644
--- a/src/manager.h
+++ b/src/manager.h
@@ -32,7 +32,7 @@ struct btd_adapter *manager_find_adapter(const bdaddr_t *sba);
struct btd_adapter *manager_find_adapter_by_path(const char *path);
struct btd_adapter *manager_find_adapter_by_id(int id);
GSList *manager_get_adapters(void);
-int manager_register_adapter(int id);
+int manager_register_adapter(int id, gboolean devup);
int manager_unregister_adapter(int id);
int manager_start_adapter(int id);
int manager_stop_adapter(int id);