diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-04-23 20:19:04 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-04-23 20:19:04 +0000 |
commit | 5b9b4989612f0bee7d7b5574e78e760090bd2b7d (patch) | |
tree | 976e0885433592bbd742ea1d6657e570e7fd11f2 /common/glib-helper.h | |
parent | 0a46bec1995f0b707080214bde9132cb6b69e162 (diff) |
Make bt_rfcomm_connect to take a channel instead of record and export bt_sco_connect.
Diffstat (limited to 'common/glib-helper.h')
-rw-r--r-- | common/glib-helper.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/glib-helper.h b/common/glib-helper.h index d356290f..b51122ad 100644 --- a/common/glib-helper.h +++ b/common/glib-helper.h @@ -37,7 +37,8 @@ gchar *bt_list2string(GSList *list); GSList *bt_string2list(const gchar *str); int bt_rfcomm_connect(const bdaddr_t *src, const bdaddr_t *dst, - sdp_record_t *record, bt_io_callback_t cb, - void *user_data); + uint8_t channel, bt_io_callback_t cb, void *user_data); int bt_l2cap_connect(const bdaddr_t *src, const bdaddr_t *dst, uint16_t psm, bt_io_callback_t cb, void *user_data); +int bt_sco_connect(const bdaddr_t *src, const bdaddr_t *dst, + bt_io_callback_t cb, void *user_data); |