summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-service.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-10-27 16:29:18 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-10-27 16:29:18 +0000
commit3ea416e2abc2758b7e43127fe38284660ca4a3e1 (patch)
treefecd98db7768dcbc09136395ebc2697d1de1677f /hcid/dbus-service.c
parentbb6ceac59219afb11180c15622ab58ca15a003b4 (diff)
Added authentication agent functions prototype
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r--hcid/dbus-service.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index b4c5aa6d..53134a2c 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -39,14 +39,7 @@
#define START_REPLY_TIMEOUT 5000
#define SERVICE_RUNNING 1
-#define SERVICE_NOT_RUNNING 0
-
-struct service_agent {
- char *id; /* Connection id */
- char *name;
- char *description;
- int running;
-};
+#define SERVICE_NOT_RUNNING 0
struct service_call {
DBusConnection *conn;
@@ -541,9 +534,7 @@ static DBusHandlerResult msg_func_services(DBusConnection *conn,
dbus_pending_call_set_notify(pending, forward_reply, call_data, service_call_free);
return send_message_and_unref(conn, forward);
- } else if (strcmp("org.bluez.Security", iface) == 0)
- return handle_security_method(conn, msg, data);
- else
+ } else
return error_unknown_method(conn, msg);
}