From 2f9928fa78e9b4c767a5f584d068fb44b43856cd Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 15 May 2007 12:45:35 +0000 Subject: Refactoring to allow adding support for more profiles --- audio/headset.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'audio/headset.h') diff --git a/audio/headset.h b/audio/headset.h index ae5119fc..de8e8a38 100644 --- a/audio/headset.h +++ b/audio/headset.h @@ -31,13 +31,15 @@ #define BUF_SIZE 1024 +typedef struct headset headset_t; + const char *headset_get(const bdaddr_t *bda); const char *headset_add(const bdaddr_t *bda); -void headset_remove(const char *path); +headset_t *headset_init(const char *path); -int headset_init(DBusConnection *conn); +int headset_server_init(DBusConnection *conn); void headset_exit(void); -- cgit