summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r--hcid/dbus-error.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c
index 4db8a8cf..8a87cff5 100644
--- a/hcid/dbus-error.c
+++ b/hcid/dbus-error.c
@@ -268,6 +268,17 @@ DBusHandlerResult error_audit_already_exists(DBusConnection *conn, DBusMessage *
return error_already_exists(conn, msg, "Audit already performed");
}
+DBusHandlerResult error_trusted_device_already_exists(DBusConnection *conn, DBusMessage *msg)
+{
+ return error_already_exists(conn, msg, "Trusted device already exists");
+}
+
+DBusHandlerResult error_trusted_device_does_not_exists(DBusConnection *conn, DBusMessage *msg)
+{
+ return error_does_not_exist(conn, msg, "Trusted device does not exist");
+}
+
+
static const char *strsdperror(int err)
{
switch (err) {