summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-database.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-04-09 21:48:30 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-04-09 21:48:30 +0000
commite17ea9f35ae810afd33b332978d5882953696cfd (patch)
tree6250fc0e87e017fa8846e54d9b0204a1f11f1b5f /hcid/dbus-database.c
parenta1c12f0ffeeb1bd2ab9cb287ce4e16125492c521 (diff)
Added new function for plugin authorization
Diffstat (limited to 'hcid/dbus-database.c')
-rw-r--r--hcid/dbus-database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/dbus-database.c b/hcid/dbus-database.c
index 4479f78c..a32bc810 100644
--- a/hcid/dbus-database.c
+++ b/hcid/dbus-database.c
@@ -406,7 +406,7 @@ static DBusHandlerResult unregister_service(DBusConnection *conn,
return send_message_and_unref(conn, reply);
}
-static DBusHandlerResult request_authorization(DBusConnection *conn,
+static DBusHandlerResult request_authorization_old(DBusConnection *conn,
DBusMessage *msg, void *data)
{
const char *sender, *address, *uuid;
@@ -482,7 +482,7 @@ static DBusMethodVTable database_methods[] = {
{ "RemoveServiceRecord", remove_service_record, "u", "" },
{ "RegisterService", register_service, "sss", "" },
{ "UnregisterService", unregister_service, "s", "" },
- { "RequestAuthorization", request_authorization, "ss", "" },
+ { "RequestAuthorization", request_authorization_old, "ss", "" },
{ "CancelAuthorizationRequest", cancel_authorization_request, "ss", "" },
{ NULL, NULL, NULL, NULL }
};