diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-05-01 13:52:26 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-05-01 13:52:26 +0000 |
commit | 9491a544f622e40453265c30f24ce44a61440cc1 (patch) | |
tree | 2c00a3c63c9f021444a6b89f6f22369bf3a3073f /hcid/dbus-service.h | |
parent | 3f8860031e5241fbb145fdd71e1a46c2c28f393e (diff) |
Moving authorization code to dbus-service.c
Diffstat (limited to 'hcid/dbus-service.h')
-rw-r--r-- | hcid/dbus-service.h | 5 |
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); |