mirror of git://git.sysmocom.de/ofono
call-barring: Add __ofono_call_barring_is_busy
This commit is contained in:
parent
2e338a16f2
commit
b0be5779b8
|
@ -580,6 +580,11 @@ static void cb_unregister_ss_controls(struct ofono_call_barring *cb)
|
|||
__ofono_ussd_passwd_unregister(cb->ussd, "353");
|
||||
}
|
||||
|
||||
gboolean __ofono_call_barring_is_busy(struct ofono_call_barring *cb)
|
||||
{
|
||||
return cb->pending ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
static inline void cb_append_property(struct ofono_call_barring *cb,
|
||||
DBusMessageIter *dict, int start,
|
||||
int end, int cls, const char *property)
|
||||
|
|
|
@ -163,6 +163,9 @@ gboolean __ofono_modem_remove_atom_watch(struct ofono_modem *modem,
|
|||
void __ofono_atom_free(struct ofono_atom *atom);
|
||||
|
||||
#include <ofono/call-barring.h>
|
||||
|
||||
gboolean __ofono_call_barring_is_busy(struct ofono_call_barring *cb);
|
||||
|
||||
#include <ofono/call-forwarding.h>
|
||||
#include <ofono/call-meter.h>
|
||||
#include <ofono/call-settings.h>
|
||||
|
|
Loading…
Reference in New Issue