From: Pekka Pessi <Pekka.Pessi(a)nokia.com>
---
include/voicecall.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/voicecall.h b/include/voicecall.h
index 2356fcf..6fd75ec 100644
--- a/include/voicecall.h
+++ b/include/voicecall.h
@@ -67,6 +67,7 @@ struct ofono_voicecall_driver {
ofono_voicecall_cb_t cb, void *data);
void (*answer)(struct ofono_voicecall *vc,
ofono_voicecall_cb_t cb, void *data);
+ /* Release active, alerting, dialing, or incoming calls */
void (*hangup_active)(struct ofono_voicecall *vc,
ofono_voicecall_cb_t cb, void *data);
void (*hangup_all)(struct ofono_voicecall *vc,
@@ -75,8 +76,13 @@ struct ofono_voicecall_driver {
ofono_voicecall_cb_t cb, void *data);
void (*release_all_held)(struct ofono_voicecall *vc,
ofono_voicecall_cb_t cb, void *data);
+ /* Release incoming or waiting calls */
void (*set_udub)(struct ofono_voicecall *vc,
ofono_voicecall_cb_t cb, void *data);
+ /*
+ * Release active, alerting, dialing, or incoming calls
+ * and answer the waiting call.
+ */
void (*release_all_active)(struct ofono_voicecall *vc,
ofono_voicecall_cb_t cb, void *data);
void (*release_specific)(struct ofono_voicecall *vc, int id,
--
1.7.1