summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-error.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-03-22 20:34:29 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-03-22 20:34:29 +0000
commit2fb80f9451af2993dfbd350ce272c7b106312553 (patch)
treeba33aba2693cf4ccf941c22976d5bf7760921f1c /hcid/dbus-error.c
parentb2b1d151eae38ccaf0e326ca382158c5d1f58ffb (diff)
Added cancel bonding and fixed minor issues of create bonding
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r--hcid/dbus-error.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c
index 375456bd..5407da15 100644
--- a/hcid/dbus-error.c
+++ b/hcid/dbus-error.c
@@ -168,6 +168,12 @@ DBusHandlerResult error_bonding_in_progress(DBusConnection *conn, DBusMessage *m
return error_in_progress(conn, msg, "Bonding in progress");
}
+DBusHandlerResult error_authentication_canceled(DBusConnection *conn, DBusMessage *msg)
+{
+ return send_reply_and_unref(conn,
+ dbus_message_new_error(msg, ERROR_INTERFACE ".AuthenticationCanceled",
+ "Authentication Canceled"));
+}
DBusHandlerResult error_discover_in_progress(DBusConnection *conn, DBusMessage *msg)
{
return error_in_progress(conn, msg, "Discover in progress");