summaryrefslogtreecommitdiffstats
path: root/audio/manager.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-05-19 01:18:39 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-05-19 01:18:39 +0000
commit723fde49c5c473d01a739b116cb674623ed5a40e (patch)
tree4bddad75f03f1acca33a1a161022c1a917b2c7ab /audio/manager.h
parent9b0bd8e682be29a265a57645e96ed810d5473ad7 (diff)
Implement CreateDevice, associated SDP discovery and other necessary changes
Diffstat (limited to 'audio/manager.h')
-rw-r--r--audio/manager.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/manager.h b/audio/manager.h
index b23a4bae..45c5fa5f 100644
--- a/audio/manager.h
+++ b/audio/manager.h
@@ -67,3 +67,17 @@ audio_device_t *manager_headset_connected(bdaddr_t *bda);
int audio_init(DBusConnection *conn);
void audio_exit(void);
+
+void finish_sdp_transaction(DBusConnection *conn, bdaddr_t *dba);
+
+
+DBusHandlerResult err_invalid_args(DBusConnection *conn, DBusMessage *msg,
+ const char *descr);
+DBusHandlerResult err_already_connected(DBusConnection *conn, DBusMessage *msg);
+DBusHandlerResult err_not_connected(DBusConnection *conn, DBusMessage *msg);
+DBusHandlerResult err_not_supported(DBusConnection *conn, DBusMessage *msg);
+DBusHandlerResult err_connect_failed(DBusConnection *conn,
+ DBusMessage *msg, int err);
+DBusHandlerResult err_failed(DBusConnection *conn, DBusMessage *msg,
+ const char *dsc);
+