summaryrefslogtreecommitdiffstats
path: root/hcid/manager.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-08-15 22:07:58 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-08-15 22:07:58 +0000
commitbe9288b048e92fd34978dd13ba13ab37d0f22fae (patch)
treec732fea2c20c5e2cd329df7851b2a4450b7cd8b3 /hcid/manager.h
parentfb2bb3f2dcc78b19fb77d9bebf71021c54704e96 (diff)
Rename files for manager interface
Diffstat (limited to 'hcid/manager.h')
-rw-r--r--hcid/manager.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/hcid/manager.h b/hcid/manager.h
new file mode 100644
index 00000000..eef0dd36
--- /dev/null
+++ b/hcid/manager.h
@@ -0,0 +1,30 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#define MANAGER_INTERFACE "org.bluez.Manager"
+
+dbus_bool_t manager_init(DBusConnection *conn, const char *path);
+
+int get_default_adapter(void);
+
+void set_default_adapter(int new_default);