OSDN Git Service

gobex: Integrate GObexApparam with GObexHeader
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 9 Aug 2012 10:32:27 +0000 (13:32 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 4 Dec 2012 21:22:06 +0000 (22:22 +0100)
commit63d1b60c8cfc39122fa496cfcbb610cf8eb0713b
tree0239043d1e0fd97e2c30f3db1a5ac317b38d0170
parent2476a6cb1324a53c12e579a24e75cd398070df8a
gobex: Integrate GObexApparam with GObexHeader

This introduce 2 new convenient functions: g_obex_header_get_apparam
which parses and decode an header into GObexApparam and
gobex_header_new_apparam that encode GObexApparam into GObexHeader.
gobex/gobex-header.c
gobex/gobex-header.h