mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 06:02:37 +01:00
dbus: add AlreadyProvisioned and NotHidden errors
This commit is contained in:
parent
b132e36978
commit
d91b81bc11
13
src/dbus.c
13
src/dbus.c
@ -179,6 +179,19 @@ struct l_dbus_message *dbus_error_service_set_overlap(
|
||||
"Service set overlap");
|
||||
}
|
||||
|
||||
struct l_dbus_message *dbus_error_already_provisioned(
|
||||
struct l_dbus_message *msg)
|
||||
{
|
||||
return l_dbus_message_new_error(msg, IWD_SERVICE ".AlreadyProvisioned",
|
||||
"Already provisioned");
|
||||
}
|
||||
|
||||
struct l_dbus_message *dbus_error_not_hidden(struct l_dbus_message *msg)
|
||||
{
|
||||
return l_dbus_message_new_error(msg, IWD_SERVICE ".NotHidden",
|
||||
"Not hidden");
|
||||
}
|
||||
|
||||
void dbus_pending_reply(struct l_dbus_message **msg,
|
||||
struct l_dbus_message *reply)
|
||||
{
|
||||
|
@ -68,6 +68,9 @@ struct l_dbus_message *dbus_error_not_configured(struct l_dbus_message *msg);
|
||||
struct l_dbus_message *dbus_error_not_implemented(struct l_dbus_message *msg);
|
||||
struct l_dbus_message *dbus_error_service_set_overlap(
|
||||
struct l_dbus_message *msg);
|
||||
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);
|
||||
|
||||
bool dbus_init(bool enable_debug);
|
||||
bool dbus_exit(void);
|
||||
|
Loading…
Reference in New Issue
Block a user