From 681bc6d556ebf0c7e663a1863051b838426fdbd5 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 10 Sep 2013 10:54:05 -0500 Subject: [PATCH] include: Add voicecall multiparty hint method On protocols that support creation of multiparty calls outside of oFono's control, we need a way to detect multiparty call transitions. This method adds a way for the driver to hint the core which calls should be part of the multiparty call. Right now this is relevant only to HFP. Real modem hardware should not be using this method. --- include/voicecall.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/voicecall.h b/include/voicecall.h index 221366e5..4d0b3886 100644 --- a/include/voicecall.h +++ b/include/voicecall.h @@ -144,6 +144,13 @@ void ofono_voicecall_disconnected(struct ofono_voicecall *vc, int id, enum ofono_disconnect_reason reason, const struct ofono_error *error); +/* + * For those protocols where MPTY creation happens outside of oFono's control, + * e.g. Bluetooth Handsfree, set the hint of the MPTY call list by passing + * in a bitmask of ids participating in the MPTY call + */ +void ofono_voicecall_mpty_hint(struct ofono_voicecall *vc, unsigned int ids); + int ofono_voicecall_driver_register(const struct ofono_voicecall_driver *d); void ofono_voicecall_driver_unregister(const struct ofono_voicecall_driver *d);