mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-19 01:42:33 +01:00
dbus: add PermissionDenied DBus error
This commit is contained in:
parent
4c3cbdc8d3
commit
b98bc30c23
@ -134,6 +134,12 @@ struct l_dbus_message *dbus_error_not_hidden(struct l_dbus_message *msg)
|
||||
"Not hidden");
|
||||
}
|
||||
|
||||
struct l_dbus_message *dbus_error_permission_denied(struct l_dbus_message *msg)
|
||||
{
|
||||
return l_dbus_message_new_error(msg, IWD_SERVICE ".PermissionDenied",
|
||||
"Permission Denied");
|
||||
}
|
||||
|
||||
struct l_dbus_message *dbus_error_from_errno(int err,
|
||||
struct l_dbus_message *msg)
|
||||
{
|
||||
|
@ -82,6 +82,7 @@ struct l_dbus_message *dbus_error_service_set_overlap(
|
||||
struct l_dbus_message *dbus_error_already_provisioned(
|
||||
struct l_dbus_message *msg);
|
||||
struct l_dbus_message *dbus_error_not_hidden(struct l_dbus_message *msg);
|
||||
struct l_dbus_message *dbus_error_permission_denied(struct l_dbus_message *msg);
|
||||
|
||||
struct l_dbus_message *dbus_error_from_errno(int err,
|
||||
struct l_dbus_message *msg);
|
||||
|
Loading…
Reference in New Issue
Block a user