diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-01-16 10:09:05 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-01-16 10:09:05 +0000 |
commit | 424e98b0d14ffe676fb478ed48d083fced91e111 (patch) | |
tree | 4dedd1fa42410bf75e120f10a5dacae0f2e0a5a5 /hcid/dbus-error.c | |
parent | d25a07673af6e6320baa7380eca777533b67c1ef (diff) |
Implement FindService method
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r-- | hcid/dbus-error.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c index 6897417c..becbda67 100644 --- a/hcid/dbus-error.c +++ b/hcid/dbus-error.c @@ -99,6 +99,13 @@ DBusHandlerResult error_no_such_adapter(DBusConnection *conn, DBusMessage *msg) "No such adapter")); } +DBusHandlerResult error_no_such_service(DBusConnection *conn, DBusMessage *msg) +{ + return send_message_and_unref(conn, + dbus_message_new_error(msg, ERROR_INTERFACE ".NoSuchService", + "No such service")); +} + DBusHandlerResult error_not_available(DBusConnection *conn, DBusMessage *msg) { return send_message_and_unref(conn, |