summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-error.c
diff options
context:
space:
mode:
authorUlisses Furquim <ulissesf@gmail.com>2006-10-27 18:24:34 +0000
committerUlisses Furquim <ulissesf@gmail.com>2006-10-27 18:24:34 +0000
commit182542f4c66a2685d82e7f9da415ee3337aeadd8 (patch)
treebbcf392dc773290e30bed92e38aa5f55edd3ff23 /hcid/dbus-error.c
parentdb6683b32275d2e408c111742d2ed27723457ab8 (diff)
Add registration part of the new Authorization API
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r--hcid/dbus-error.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c
index c0bda846..4a169c5c 100644
--- a/hcid/dbus-error.c
+++ b/hcid/dbus-error.c
@@ -224,6 +224,16 @@ DBusHandlerResult error_passkey_agent_does_not_exist(DBusConnection *conn, DBusM
return error_does_not_exist(conn, msg, "Passkey agent does not exist");
}
+DBusHandlerResult error_auth_agent_already_exists(DBusConnection *conn, DBusMessage *msg)
+{
+ return error_already_exists(conn, msg, "Authorization agent already exists");
+}
+
+DBusHandlerResult error_auth_agent_does_not_exist(DBusConnection *conn, DBusMessage *msg)
+{
+ return error_does_not_exist(conn, msg, "Authorization agent does not exist");
+}
+
DBusHandlerResult error_binding_does_not_exist(DBusConnection *conn, DBusMessage *msg)
{
return error_does_not_exist(conn, msg, "Binding does not exist");