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_not_connected

This commit is contained in:
Denis Kenzior 2015-04-30 18:41:53 -05:00
parent 778da5b8c4
commit d127e91ff8
2 changed files with 7 additions and 0 deletions

View File

@ -132,6 +132,12 @@ struct l_dbus_message *dbus_error_no_agent(struct l_dbus_message *msg)
"No Agent registered");
}
struct l_dbus_message *dbus_error_not_connected(struct l_dbus_message *msg)
{
return l_dbus_message_new_error(msg, IWD_SERVICE ".NotConnected",
"Not connected");
}
void dbus_pending_reply(struct l_dbus_message **msg,
struct l_dbus_message *reply)
{

View File

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