summaryrefslogtreecommitdiff
path: root/gobex/gobex.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-07-11 01:07:33 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:22:01 +0100
commitd713e186e596e8d2f725e06239dd31967f06300f (patch)
treee8cf26ec61d1c8b2596f094b8b707042793e3568 /gobex/gobex.h
parent0e2afe102e555b8309c4655552f2f32a26f4d989 (diff)
downloadbluez-d713e186e596e8d2f725e06239dd31967f06300f.tar.gz
gobex: Add g_obex_send_rsp convenience function
Diffstat (limited to 'gobex/gobex.h')
-rw-r--r--gobex/gobex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gobex/gobex.h b/gobex/gobex.h
index cfe923590..cec57c21c 100644
--- a/gobex/gobex.h
+++ b/gobex/gobex.h
@@ -48,6 +48,8 @@ guint g_obex_send_req(GObex *obex, GObexPacket *req, gint timeout,
gboolean g_obex_cancel_req(GObex *obex, guint req_id,
gboolean remove_callback);
+gboolean g_obex_send_rsp(GObex *obex, guint8 rspcode, GError **err);
+
void g_obex_set_disconnect_function(GObex *obex, GObexFunc func,
gpointer user_data);
gint g_obex_add_request_function(GObex *obex, guint8 opcode,
@@ -64,7 +66,7 @@ GObex *g_obex_new(GIOChannel *io, GObexTransportType transport_type,
GObex *g_obex_ref(GObex *obex);
void g_obex_unref(GObex *obex);
-/* Higher level functions */
+/* High level client functions */
guint g_obex_connect(GObex *obex, GObexResponseFunc func, gpointer user_data,
GError **err, guint8 first_hdr_id, ...);