diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-05-15 12:45:35 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-05-15 12:45:35 +0000 |
commit | 2f9928fa78e9b4c767a5f584d068fb44b43856cd (patch) | |
tree | 16eb9c7ee4fb9934a836ea57ea592a89ed6f4b11 /audio/headset.h | |
parent | f8afd4132d6a0feebe628be9faadb41cc5ca3b62 (diff) |
Refactoring to allow adding support for more profiles
Diffstat (limited to 'audio/headset.h')
-rw-r--r-- | audio/headset.h | 6 |
1 files changed, 4 insertions, 2 deletions
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); |