3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-21 03:32:42 +01:00

dbus: Add dbus_error_no_agent

This commit is contained in:
Denis Kenzior 2015-03-20 15:42:39 -05:00
parent 709b94587e
commit 141a1831c0
2 changed files with 7 additions and 0 deletions

View File

@ -126,6 +126,12 @@ struct l_dbus_message *dbus_error_not_supported(struct l_dbus_message *msg)
"Operation not supported");
}
struct l_dbus_message *dbus_error_no_agent(struct l_dbus_message *msg)
{
return l_dbus_message_new_error(msg, IWD_SERVICE ".NoAgent",
"No Agent registered");
}
void dbus_pending_reply(struct l_dbus_message **msg,
struct l_dbus_message *reply)
{

View File

@ -54,6 +54,7 @@ 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);
struct l_dbus_message *dbus_error_no_agent(struct l_dbus_message *msg);
bool dbus_init(bool enable_debug);
bool dbus_exit(void);