diff options
Diffstat (limited to 'input/error.c')
-rw-r--r-- | input/error.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/input/error.c b/input/error.c index 3049b47f..983cb10d 100644 --- a/input/error.c +++ b/input/error.c @@ -66,6 +66,15 @@ DBusHandlerResult err_already_connected(DBusConnection *conn, DBusMessage *msg) "Already connected to this device")); } +DBusHandlerResult err_authentication_failed(DBusConnection *conn, + DBusMessage *msg) +{ + return send_message_and_unref(conn, + dbus_message_new_error(msg, + INPUT_ERROR_INTERFACE".AuthenticationFailed", + "Authentication failed")); +} + DBusHandlerResult err_already_exists(DBusConnection *conn, DBusMessage *msg, const char *str) { |