diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-06-17 19:37:36 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-06-17 19:37:36 +0000 |
commit | e8ca2351ee3ba3f8b2b99731972234f42ae9b64b (patch) | |
tree | 8a639f9f831dd79ec2b3b8d5d952d649885a59ba /hcid/dbus-security.h | |
parent | bbec31284f7e4e960c07bddd9fd1d7ee5c990118 (diff) |
Fix authorization mechanism for 3.x.
Diffstat (limited to 'hcid/dbus-security.h')
-rw-r--r-- | hcid/dbus-security.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/hcid/dbus-security.h b/hcid/dbus-security.h index cf54a5a8..8c23417a 100644 --- a/hcid/dbus-security.h +++ b/hcid/dbus-security.h @@ -44,15 +44,7 @@ void release_passkey_agents(struct adapter *adapter, bdaddr_t *bda); void cancel_passkey_agent_requests(GSList *agents, const char *path, bdaddr_t *dba); -DBusHandlerResult handle_authorize_request_old(DBusConnection *conn, - DBusMessage *msg, - struct service *service, - const char *path, - const char *address, - const char *uuid); - -DBusHandlerResult cancel_authorize_request_old(DBusConnection *conn, - DBusMessage *msg, - struct service *service, - const char *address, - const char *path); +int handle_authorize_request_old(struct service *service, const char *path, + const char *address, const char *uuid, + service_auth_cb cb, void *user_data); +int cancel_authorize_request_old(const char *path, const char *address); |