summaryrefslogtreecommitdiffstats
path: root/common/glib-helper.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-05-12 21:21:47 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-05-12 21:21:47 +0000
commiteac653286a4619a0b28614cdde1506997e5d6023 (patch)
tree39e47d27560b6bf34d8ed4b232aa245fb22ca642 /common/glib-helper.h
parent788878d89291688a06d2bb067fa9d5c82c4ad050 (diff)
introduce bt_rfcomm_listen.
Diffstat (limited to 'common/glib-helper.h')
-rw-r--r--common/glib-helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/glib-helper.h b/common/glib-helper.h
index 7a312005..71ed67b8 100644
--- a/common/glib-helper.h
+++ b/common/glib-helper.h
@@ -38,6 +38,8 @@ gchar *bt_uuid2string(uuid_t *uuid);
gchar *bt_list2string(GSList *list);
GSList *bt_string2list(const gchar *str);
+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);
int bt_l2cap_connect(const bdaddr_t *src, const bdaddr_t *dst,