summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Fels <simon.fels@canonical.com>2015-10-22 18:05:38 +0200
committerDenis Kenzior <denkenz@gmail.com>2015-10-26 11:43:04 -0500
commit046f032b32779fe13c180fbf3a46f605d1932378 (patch)
tree1067a57792fc283b6aaea35ade5d036f54c218c7 /include
parent989f9b26e29009ebd29b2151378276fb100b5b8b (diff)
downloadofono-046f032b32779fe13c180fbf3a46f605d1932378.tar.bz2
emulator: add codec negotiation support
Diffstat (limited to 'include')
-rw-r--r--include/emulator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/emulator.h b/include/emulator.h
index 15dc61c2..4b2bc987 100644
--- a/include/emulator.h
+++ b/include/emulator.h
@@ -112,6 +112,11 @@ void ofono_emulator_set_hf_indicator_active(struct ofono_emulator *em,
void ofono_emulator_set_handsfree_card(struct ofono_emulator *em,
struct ofono_handsfree_card *card);
+typedef void (*ofono_emulator_codec_negotiation_cb)(int err, void *data);
+
+int ofono_emulator_start_codec_negotiation(struct ofono_emulator *em,
+ ofono_emulator_codec_negotiation_cb cb, void *data);
+
#ifdef __cplusplus
}
#endif