From efeeab95ad87e827c2a801186754df868b598242 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 13 May 2008 18:18:02 +0000 Subject: Introduce bt_l2cap_listen. --- common/glib-helper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/glib-helper.h') diff --git a/common/glib-helper.h b/common/glib-helper.h index 71ed67b8..ddc57d4b 100644 --- a/common/glib-helper.h +++ b/common/glib-helper.h @@ -42,6 +42,9 @@ GIOChannel *bt_rfcomm_listen(const bdaddr_t *src, uint8_t channel, uint32_t flags, bt_io_callback_t cb, void *user_data); int bt_rfcomm_connect(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel, bt_io_callback_t cb, void *user_data); + +GIOChannel *bt_l2cap_listen(const bdaddr_t *src, uint16_t psm, uint16_t mtu, + uint32_t flags, bt_io_callback_t cb, void *user_data); int bt_l2cap_connect(const bdaddr_t *src, const bdaddr_t *dst, uint16_t psm, uint16_t mtu, bt_io_callback_t cb, void *user_data); -- cgit