modem: Implement ofono_modem_get_voicecall

This commit is contained in:
Slava Monich 2018-06-29 16:57:40 +03:00 committed by Denis Kenzior
parent 94e3275d9c
commit 3c10ae7fb3
1 changed files with 5 additions and 0 deletions

View File

@ -194,6 +194,11 @@ struct ofono_gprs *ofono_modem_get_gprs(struct ofono_modem *modem)
return __ofono_atom_find(OFONO_ATOM_TYPE_GPRS, modem);
}
struct ofono_voicecall *ofono_modem_get_voicecall(struct ofono_modem *modem)
{
return __ofono_atom_find(OFONO_ATOM_TYPE_VOICECALL, modem);
}
struct ofono_atom *__ofono_modem_add_atom(struct ofono_modem *modem,
enum ofono_atom_type type,
void (*destruct)(struct ofono_atom *),