summaryrefslogtreecommitdiff
path: root/gobex/gobex-packet.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-07-12 00:37:25 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:22:01 +0100
commitd9ef079522891a0a256e455158704e82228370d7 (patch)
tree98d3420c5862f3b37ffcd53e22cad1df2730809c /gobex/gobex-packet.h
parentb0341a13d519b401c972127c0738a530acd5f944 (diff)
downloadbluez-d9ef079522891a0a256e455158704e82228370d7.tar.gz
gobex: Add g_obex_packet_get_body convenience function
Diffstat (limited to 'gobex/gobex-packet.h')
-rw-r--r--gobex/gobex-packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gobex/gobex-packet.h b/gobex/gobex-packet.h
index ea61d99be..ff6dcd295 100644
--- a/gobex/gobex-packet.h
+++ b/gobex/gobex-packet.h
@@ -82,6 +82,7 @@
typedef struct _GObexPacket GObexPacket;
GObexHeader *g_obex_packet_get_header(GObexPacket *pkt, guint8 id);
+GObexHeader *g_obex_packet_get_body(GObexPacket *pkt);
guint8 g_obex_packet_get_operation(GObexPacket *pkt, gboolean *final);
GObexHeader *g_obex_packet_find_header(GObexPacket *pkt, guint8 id);
gboolean g_obex_packet_prepend_header(GObexPacket *pkt, GObexHeader *header);