diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-09-14 02:09:53 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-09-14 02:09:53 +0200 |
commit | 6ff238c6397298f2d241a280bd19feb2fa0e7e7b (patch) | |
tree | 2876073efcbebb86a1cab2cf046545a117648214 /common/glib-helper.h | |
parent | e395a272e9277dd10cc8b30011aea937774e99c3 (diff) | |
parent | df041f69a2e7ecb8b3047e9296fd57df60b35757 (diff) |
Merge branch 'encrypt' of git://gitorious.org/bluez/cktakahasis-clone
Diffstat (limited to 'common/glib-helper.h')
-rw-r--r-- | common/glib-helper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/glib-helper.h b/common/glib-helper.h index 8e12bf19..ee63b2d7 100644 --- a/common/glib-helper.h +++ b/common/glib-helper.h @@ -27,6 +27,7 @@ typedef void (*bt_io_callback_t) (GIOChannel *io, int err, const bdaddr_t *src, const bdaddr_t *dst, gpointer user_data); typedef void (*bt_callback_t) (sdp_list_t *recs, int err, gpointer user_data); typedef void (*bt_destroy_t) (gpointer user_data); +typedef void (*bt_hci_result_t) (uint8_t status, gpointer user_data); int bt_discover_services(const bdaddr_t *src, const bdaddr_t *dst, bt_callback_t cb, void *user_data, bt_destroy_t destroy); @@ -59,6 +60,9 @@ int bt_sco_connect(const bdaddr_t *src, const bdaddr_t *dst, GIOChannel *bt_sco_listen(const bdaddr_t *src, uint16_t mtu, bt_io_callback_t cb, void *user_data); +int bt_acl_encrypt(const bdaddr_t *src, const bdaddr_t *dst, + bt_hci_result_t cb, gpointer user_data); + /* Experiemental bt_io API */ typedef struct bt_io BtIO; |