summaryrefslogtreecommitdiff
path: root/gobex/gobex.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-07-04 16:21:45 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:21:58 +0100
commit0794989ac8cd62fc4818b82873c22ebedae3a12a (patch)
tree9110b1f8199a9c8bfef57f381ca33dce6a2492e2 /gobex/gobex.h
parent11d5035505728dcd1e9ea6631b4cd61e3f36ecb5 (diff)
downloadbluez-0794989ac8cd62fc4818b82873c22ebedae3a12a.tar.gz
gobex: Add convenience function for sending connect req
Diffstat (limited to 'gobex/gobex.h')
-rw-r--r--gobex/gobex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gobex/gobex.h b/gobex/gobex.h
index 2111588fa..ce307c041 100644
--- a/gobex/gobex.h
+++ b/gobex/gobex.h
@@ -59,4 +59,10 @@ GObex *g_obex_new(GIOChannel *io, GObexTransportType transport_type,
GObex *g_obex_ref(GObex *obex);
void g_obex_unref(GObex *obex);
+/* Higher level functions */
+
+guint g_obex_connect(GObex *obex, void *target, gsize target_len,
+ GObexResponseFunc func, gpointer user_data,
+ GError **err);
+
#endif /* __GOBEX_H */