summaryrefslogtreecommitdiff
path: root/gobex/gobex.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-01-11 15:22:02 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:22:05 +0100
commitc11d66be4ccac98cb0ea314b4affc66da8aa7cbb (patch)
treed5164b599732e0bf6667b2540c64828f27ec2144 /gobex/gobex.h
parentcd0af353a530a0a063176dbd3558c67adda6ac57 (diff)
downloadbluez-c11d66be4ccac98cb0ea314b4affc66da8aa7cbb.tar.gz
gobex: introduce g_obex_get_rsp_pkt
g_obex_get_rsp_pkt takes a response packet which sometimes is more convenient for adding headers.
Diffstat (limited to 'gobex/gobex.h')
-rw-r--r--gobex/gobex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gobex/gobex.h b/gobex/gobex.h
index 81981ea0a..ef07bade6 100644
--- a/gobex/gobex.h
+++ b/gobex/gobex.h
@@ -117,6 +117,10 @@ guint g_obex_get_rsp(GObex *obex, GObexDataProducer data_func,
GObexFunc complete_func, gpointer user_data,
GError **err, guint8 first_hdr_id, ...);
+guint g_obex_get_rsp_pkt(GObex *obex, GObexPacket *rsp,
+ GObexDataProducer data_func, GObexFunc complete_func,
+ gpointer user_data, GError **err);
+
gboolean g_obex_cancel_transfer(guint id);
const char *g_obex_strerror(guint8 err_code);