call-barring: Add __ofono_call_barring_is_busy

This commit is contained in:
Jeevaka Badrappan 2010-09-09 05:31:49 -07:00 committed by Denis Kenzior
parent 2e338a16f2
commit b0be5779b8
2 changed files with 8 additions and 0 deletions

View File

@ -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)

View File

@ -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>