diff options
Diffstat (limited to 'src/ofono.h')
-rw-r--r-- | src/ofono.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ofono.h b/src/ofono.h index 78e6be14..bd7f33c4 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -207,6 +207,7 @@ enum ofono_voicecall_interaction { }; typedef void (*ofono_voicecall_dial_cb_t)(struct ofono_call *call, void *data); +typedef void (*ofono_voicecall_tone_cb_t)(int error, void *data); ofono_bool_t __ofono_voicecall_is_busy(struct ofono_voicecall *vc, enum ofono_voicecall_interaction type); @@ -218,6 +219,11 @@ int __ofono_voicecall_dial(struct ofono_voicecall *vc, ofono_voicecall_dial_cb_t cb, void *user_data); void __ofono_voicecall_dial_cancel(struct ofono_voicecall *vc); +int __ofono_voicecall_tone_send(struct ofono_voicecall *vc, + const char *tone_str, + ofono_voicecall_tone_cb_t cb, void *user_data); +void __ofono_voicecall_tone_cancel(struct ofono_voicecall *vc, int id); + #include <ofono/sms.h> struct sms; |