mirror of git://git.sysmocom.de/ofono
dbus: Add __ofono_error_access_denied
This commit is contained in:
parent
9de85e7a78
commit
b79b64439f
|
@ -342,6 +342,12 @@ DBusMessage *__ofono_error_canceled(DBusMessage *msg)
|
||||||
"Operation has been canceled");
|
"Operation has been canceled");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DBusMessage *__ofono_error_access_denied(DBusMessage *msg)
|
||||||
|
{
|
||||||
|
return g_dbus_create_error(msg, OFONO_ERROR_INTERFACE ".AccessDenied",
|
||||||
|
"Operation not permitted");
|
||||||
|
}
|
||||||
|
|
||||||
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply)
|
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply)
|
||||||
{
|
{
|
||||||
DBusConnection *conn = ofono_dbus_get_connection();
|
DBusConnection *conn = ofono_dbus_get_connection();
|
||||||
|
|
|
@ -57,6 +57,7 @@ DBusMessage *__ofono_error_in_use(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_not_attached(DBusMessage *msg);
|
DBusMessage *__ofono_error_not_attached(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_attach_in_progress(DBusMessage *msg);
|
DBusMessage *__ofono_error_attach_in_progress(DBusMessage *msg);
|
||||||
DBusMessage *__ofono_error_canceled(DBusMessage *msg);
|
DBusMessage *__ofono_error_canceled(DBusMessage *msg);
|
||||||
|
DBusMessage *__ofono_error_access_denied(DBusMessage *msg);
|
||||||
|
|
||||||
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply);
|
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue