summaryrefslogtreecommitdiffstats
path: root/audio/headset.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-05-31 09:23:17 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-05-31 09:23:17 +0000
commit04efa14f48878cd1c1a31afc106f782fc97277a0 (patch)
tree23ba3be8876475a0e853a87df45238c7001027a3 /audio/headset.h
parent11f21abbc245e090345f21734a7a00cdde087078 (diff)
Bring the audio code up-to-date with the current API spec
Diffstat (limited to 'audio/headset.h')
-rw-r--r--audio/headset.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/headset.h b/audio/headset.h
index 3ccbf8b2..c02f36a3 100644
--- a/audio/headset.h
+++ b/audio/headset.h
@@ -33,11 +33,16 @@
typedef struct headset headset_t;
-headset_t *headset_init(const char *object_path, sdp_record_t *record);
+headset_t *headset_init(const char *object_path, sdp_record_t *record,
+ uint16_t svc);
+
+void headset_free(const char *object_path);
+
+void headset_update(headset_t *headset, sdp_record_t *record, uint16_t svc);
gboolean headset_is_connected(headset_t *headset);
-int headset_server_init(DBusConnection *conn);
+int headset_server_init(DBusConnection *conn, gboolean disable_hfp);
void headset_exit(void);