mirror of git://git.sysmocom.de/ofono
dbus: Add Terminated error
This commit is contained in:
parent
f53d219726
commit
cf211d17e3
|
@ -409,6 +409,14 @@ DBusMessage *__ofono_error_not_recognized(DBusMessage *msg)
|
||||||
"String not recognized as USSD/SS");
|
"String not recognized as USSD/SS");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DBusMessage *__ofono_error_network_terminated(DBusMessage *msg)
|
||||||
|
{
|
||||||
|
return g_dbus_create_error(msg, OFONO_ERROR_INTERFACE
|
||||||
|
".Terminated",
|
||||||
|
"Operation was terminated by the"
|
||||||
|
" network");
|
||||||
|
}
|
||||||
|
|
||||||
DBusMessage *__ofono_error_from_error(const struct ofono_error *error,
|
DBusMessage *__ofono_error_from_error(const struct ofono_error *error,
|
||||||
DBusMessage *msg)
|
DBusMessage *msg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -66,6 +66,7 @@ DBusMessage *__ofono_error_emergency_active(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_incorrect_password(DBusMessage *msg);
|
DBusMessage *__ofono_error_incorrect_password(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_not_allowed(DBusMessage *msg);
|
DBusMessage *__ofono_error_not_allowed(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_not_recognized(DBusMessage *msg);
|
DBusMessage *__ofono_error_not_recognized(DBusMessage *msg);
|
||||||
|
DBusMessage *__ofono_error_network_terminated(DBusMessage *msg);
|
||||||
|
|
||||||
DBusMessage *__ofono_error_from_error(const struct ofono_error *error,
|
DBusMessage *__ofono_error_from_error(const struct ofono_error *error,
|
||||||
DBusMessage *msg);
|
DBusMessage *msg);
|
||||||
|
|
Loading…
Reference in New Issue