summaryrefslogtreecommitdiff
path: root/gobex/gobex-packet.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-07-04 23:02:12 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:21:59 +0100
commit814b06ed671f35fb8480bf632cc3cd47873742f7 (patch)
tree2b8db0812c111d62656cca694292f47e715d30e6 /gobex/gobex-packet.h
parent26f20b39af69d847b4810c9f3c3078f9a5dbca34 (diff)
downloadbluez-814b06ed671f35fb8480bf632cc3cd47873742f7.tar.gz
gobex: Add g_obex_packet_find_header and g_obex_packet_prepend_header
Diffstat (limited to 'gobex/gobex-packet.h')
-rw-r--r--gobex/gobex-packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gobex/gobex-packet.h b/gobex/gobex-packet.h
index 16dcf0fab..0d38c1da0 100644
--- a/gobex/gobex-packet.h
+++ b/gobex/gobex-packet.h
@@ -82,6 +82,8 @@ typedef struct _GObexPacket GObexPacket;
GObexHeader *g_obex_packet_get_header(GObexPacket *pkt, guint8 id);
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);
gboolean g_obex_packet_add_header(GObexPacket *pkt, GObexHeader *header);
gboolean g_obex_packet_set_data(GObexPacket *pkt, const void *data, gsize len,
GObexDataPolicy data_policy);