summaryrefslogtreecommitdiffstats
path: root/hcid/manager.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-09 16:19:51 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:36:47 -0300
commitdc38fc68b74e98af1139d7769a1d91a98139af99 (patch)
tree213df980e15318de87a85afc2c979952ded066ca /hcid/manager.h
parent555fcc9b4bf67e923708af8de46aa91b7077f050 (diff)
Move adapter initialization code from dbus-hci.c to manager.c.
Diffstat (limited to 'hcid/manager.h')
-rw-r--r--hcid/manager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/hcid/manager.h b/hcid/manager.h
index 2065d5ac..6942e85b 100644
--- a/hcid/manager.h
+++ b/hcid/manager.h
@@ -30,7 +30,9 @@ void manager_cleanup(DBusConnection *conn, const char *path);
struct adapter *manager_find_adapter(const bdaddr_t *sba);
struct adapter *manager_find_adapter_by_path(const char *path);
struct adapter *manager_find_adapter_by_id(int id);
-void manager_add_adapter(struct adapter *adapter);
-void manager_remove_adapter(struct adapter *adapter);
+int manager_register_adapter(int id);
+int manager_unregister_adapter(int id);
+int manager_start_adapter(int id);
+int manager_stop_adapter(int id);
int manager_get_default_adapter();
void manager_set_default_adapter(int id);