summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-security.h
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-security.h')
-rw-r--r--hcid/dbus-security.h16
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);