summaryrefslogtreecommitdiff
path: root/gobex/gobex-header.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-03-27 18:03:58 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-03-31 17:30:58 +0300
commitab22fce6bb008088618839fdd33bb8a138f29117 (patch)
tree5240b0a0e2e761a03af235078fd1fdb80f0640ee /gobex/gobex-header.h
parentc7fece88475d49b452d7323ed6794878d78cbb74 (diff)
downloadbluez-ab22fce6bb008088618839fdd33bb8a138f29117.tar.gz
gobex/header: Add g_obex_header_new_tag function
This function can be used to set tag using GObexApparam as argument but for arbritary headers.
Diffstat (limited to 'gobex/gobex-header.h')
-rw-r--r--gobex/gobex-header.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gobex/gobex-header.h b/gobex/gobex-header.h
index 42a2a0cb1..c2f975f22 100644
--- a/gobex/gobex-header.h
+++ b/gobex/gobex-header.h
@@ -85,6 +85,7 @@ GObexHeader *g_obex_header_new_unicode(guint8 id, const char *str);
GObexHeader *g_obex_header_new_bytes(guint8 id, const void *data, gsize len);
GObexHeader *g_obex_header_new_uint8(guint8 id, guint8 val);
GObexHeader *g_obex_header_new_uint32(guint8 id, guint32 val);
+GObexHeader *g_obex_header_new_tag(guint8 id, GObexApparam *apparam);
GObexHeader *g_obex_header_new_apparam(GObexApparam *apparam);
GSList *g_obex_header_create_list(guint8 first_hdr_id, va_list args,