summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-service.h
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-service.h')
-rw-r--r--hcid/dbus-service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/dbus-service.h b/hcid/dbus-service.h
index d7661789..72a23f25 100644
--- a/hcid/dbus-service.h
+++ b/hcid/dbus-service.h
@@ -66,3 +66,8 @@ int service_unregister(DBusConnection *conn, struct service *service);
void register_uuids(const char *name, const char **uuids);
void unregister_uuids(const char *name);
+
+typedef void (*service_auth_cb) (DBusError *derr, void *user_data);
+int service_req_auth(bdaddr_t *src, bdaddr_t *dst,
+ const char *uuid, service_auth_cb cb, void *user_data);
+int service_cancel_auth(bdaddr_t *src);