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_implemented

This commit is contained in:
Denis Kenzior 2015-09-28 11:27:33 -05:00
parent d0d509d864
commit 50cc76e227
2 changed files with 7 additions and 0 deletions

View File

@ -138,6 +138,12 @@ struct l_dbus_message *dbus_error_not_connected(struct l_dbus_message *msg)
"Not connected");
}
struct l_dbus_message *dbus_error_not_implemented(struct l_dbus_message *msg)
{
return l_dbus_message_new_error(msg, IWD_SERVICE ".NotImplemented",
"Not implemented");
}
void dbus_pending_reply(struct l_dbus_message **msg,
struct l_dbus_message *reply)
{

View File

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