summaryrefslogtreecommitdiffstats
path: root/common/glib-helper.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-04-24 14:56:40 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-04-24 14:56:40 +0000
commit3a2024530dd736ece6f8b59db53bd8f67a755361 (patch)
tree0a59493ac8822dfd5eb750a63e365c783a28614c /common/glib-helper.h
parent5b9b4989612f0bee7d7b5574e78e760090bd2b7d (diff)
Close socket on bind failure, fix callback user_data to be the last parameter and pass uuid refence.
Diffstat (limited to 'common/glib-helper.h')
-rw-r--r--common/glib-helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/glib-helper.h b/common/glib-helper.h
index b51122ad..6d191640 100644
--- a/common/glib-helper.h
+++ b/common/glib-helper.h
@@ -22,14 +22,14 @@
*/
typedef void (*bt_io_callback_t) (GIOChannel *io, int err, gpointer user_data);
-typedef void (*bt_callback_t) (gpointer user_data, sdp_list_t *recs, int err);
+typedef void (*bt_callback_t) (sdp_list_t *recs, int err, gpointer user_data);
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);
int bt_search_service(const bdaddr_t *src, const bdaddr_t *dst,
- uuid_t uuid, bt_callback_t cb, void *user_data,
+ uuid_t *uuid, bt_callback_t cb, void *user_data,
bt_destroy_t destroy);
gchar *bt_uuid2string(uuid_t *uuid);