voicecall: Add support for dialing number at a given memory location

Add a new function to be able to dial numbers from memory/favourites.
This commit is contained in:
Philippe De Swert 2018-02-12 20:37:15 +02:00 committed by Denis Kenzior
parent 08ac5a6e5b
commit db7d9bb9dd
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ struct ofono_voicecall_driver {
const struct ofono_phone_number *number,
enum ofono_clir_option clir, ofono_voicecall_cb_t cb,
void *data);
/* dials a number at a given memory location */
void (*dial_memory)(struct ofono_voicecall *vc,
unsigned int memory_location, ofono_voicecall_cb_t cb,
void *data);
/* Dials the last number again, this handles the hfp profile last number
* dialing with the +BLDN AT command
*/