mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-20 10:52:33 +01:00
dbus: Add not supported error
This commit is contained in:
parent
41e82fba77
commit
d77238d5fd
@ -120,6 +120,12 @@ struct l_dbus_message *dbus_error_not_found(struct l_dbus_message *msg)
|
||||
"Object not found");
|
||||
}
|
||||
|
||||
struct l_dbus_message *dbus_error_not_supported(struct l_dbus_message *msg)
|
||||
{
|
||||
return l_dbus_message_new_error(msg, IWD_SERVICE ".NotSupported",
|
||||
"Operation not supported");
|
||||
}
|
||||
|
||||
void dbus_pending_reply(struct l_dbus_message **msg,
|
||||
struct l_dbus_message *reply)
|
||||
{
|
||||
|
@ -53,6 +53,7 @@ struct l_dbus_message *dbus_error_not_available(struct l_dbus_message *msg);
|
||||
struct l_dbus_message *dbus_error_invalid_args(struct l_dbus_message *msg);
|
||||
struct l_dbus_message *dbus_error_already_exists(struct l_dbus_message *msg);
|
||||
struct l_dbus_message *dbus_error_not_found(struct l_dbus_message *msg);
|
||||
struct l_dbus_message *dbus_error_not_supported(struct l_dbus_message *msg);
|
||||
|
||||
bool dbus_init(bool enable_debug);
|
||||
bool dbus_exit(void);
|
||||
|
Loading…
Reference in New Issue
Block a user