summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/handsfree-audio.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/handsfree-audio.h b/include/handsfree-audio.h
index e4eae84a..f79afb3a 100644
--- a/include/handsfree-audio.h
+++ b/include/handsfree-audio.h
@@ -43,8 +43,9 @@ struct ofono_handsfree_card_driver {
void *data);
};
-struct ofono_handsfree_card *ofono_handsfree_card_create(const char *remote,
- const char *local);
+struct ofono_handsfree_card *ofono_handsfree_card_create(unsigned int vendor,
+ const char *driver,
+ void *data);
int ofono_handsfree_card_register(struct ofono_handsfree_card *card);
void ofono_handsfree_card_remove(struct ofono_handsfree_card *card);
@@ -52,6 +53,14 @@ void ofono_handsfree_card_set_data(struct ofono_handsfree_card *card,
void *data);
void *ofono_handsfree_card_get_data(struct ofono_handsfree_card *card);
+void ofono_handsfree_card_set_remote(struct ofono_handsfree_card *card,
+ const char *remote);
+const char *ofono_handsfree_card_get_remote(struct ofono_handsfree_card *card);
+
+void ofono_handsfree_card_set_local(struct ofono_handsfree_card *card,
+ const char *local);
+const char *ofono_handsfree_card_get_local(struct ofono_handsfree_card *card);
+
void ofono_handsfree_audio_ref(void);
void ofono_handsfree_audio_unref(void);