summaryrefslogtreecommitdiffstats
path: root/common/glib-helper.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-06 21:58:13 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-06 21:58:13 +0000
commit6eab5e203d793fbeea8a488a315a62ab2e69417e (patch)
tree3843d76b14275da37d94acbe49c05a6eb3c29cee /common/glib-helper.h
parent51a5483169faa3b64b50970891a545192836ee9b (diff)
added bt_discover_services function
Diffstat (limited to 'common/glib-helper.h')
-rw-r--r--common/glib-helper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/glib-helper.h b/common/glib-helper.h
index 71377516..7426a6ad 100644
--- a/common/glib-helper.h
+++ b/common/glib-helper.h
@@ -20,3 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
+
+typedef void (*bt_callback_t) (gpointer user_data, sdp_list_t *recs, int err);
+typedef void (*bt_destroy_t) (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);