diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-12-04 12:53:58 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-12-04 12:53:58 +0000 |
commit | 4433fb72329624961794513b257fc9a8988b1067 (patch) | |
tree | 01b04559e6ec10442b8b12fb69229b51b67bebbe /hcid/dbus-error.c | |
parent | 225ca66857cfd4186a2651b60886e5ffe04fd3c2 (diff) |
Truested devices:changed error names and integration with AuthorizeService
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r-- | hcid/dbus-error.c | 11 |
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) { |