diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-06-27 00:16:07 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:21:56 +0100 |
commit | a1824acc4d83d90bf4fd3c7d1f2474ea1a98f40f (patch) | |
tree | 7231532156e4541e8918b7b82317b722448b1bfe /gobex/gobex.h | |
parent | b568973ba3d9392430fa5dbf4e1c23dbb5120947 (diff) | |
download | bluez-a1824acc4d83d90bf4fd3c7d1f2474ea1a98f40f.tar.gz |
gobex: Add g_obex_packet_set_data for non-header data
Diffstat (limited to 'gobex/gobex.h')
-rw-r--r-- | gobex/gobex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gobex/gobex.h b/gobex/gobex.h index 2b52ef2c9..7b736cae5 100644 --- a/gobex/gobex.h +++ b/gobex/gobex.h @@ -84,7 +84,8 @@ GObexHeader *g_obex_header_decode(const void *data, size_t len, void g_obex_header_free(GObexHeader *header); gboolean g_obex_packet_add_header(GObexPacket *req, GObexHeader *header); - +gboolean g_obex_packet_set_data(GObexPacket *pkt, const void *data, size_t len, + GObexDataPolicy data_policy); GObexPacket *g_obex_packet_new(guint8 opcode); void g_obex_packet_free(GObexPacket *req); |