summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2013-09-10 10:54:05 -0500
committerDenis Kenzior <denkenz@gmail.com>2013-09-12 13:17:39 -0500
commit681bc6d556ebf0c7e663a1863051b838426fdbd5 (patch)
tree65bebd947091cf52ee20265985e7ed3e6e57023b /include
parentd94eb705c725b5e466701e80f69ba3ecbc18f1b5 (diff)
downloadofono-681bc6d556ebf0c7e663a1863051b838426fdbd5.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/voicecall.h7
1 files changed, 7 insertions, 0 deletions
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);