diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-04-09 21:48:30 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-04-09 21:48:30 +0000 |
commit | e17ea9f35ae810afd33b332978d5882953696cfd (patch) | |
tree | 6250fc0e87e017fa8846e54d9b0204a1f11f1b5f /hcid/dbus-database.c | |
parent | a1c12f0ffeeb1bd2ab9cb287ce4e16125492c521 (diff) |
Added new function for plugin authorization
Diffstat (limited to 'hcid/dbus-database.c')
-rw-r--r-- | hcid/dbus-database.c | 4 |
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 } }; |