Commit Graph

17 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
ab22fce6bb 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.
2014-03-31 17:30:58 +03:00
Johan Hedberg
30e2aaa3f8 gobex: Fix GPL version reference
These files (like everything else in the tree) should be GPL 2 or later
instead of GPL 2 only.
2013-02-15 16:25:29 +02:00
Luiz Augusto von Dentz
63d1b60c8c 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.
2012-12-04 22:22:06 +01:00
Luiz Augusto von Dentz
dd0e00c06f gobex: add defines for possible values of SRMP header
Also rename G_OBEX_HDR_SRM_PARAMETERS to just G_OBEX_HDR_SRMP as the spec
normally refer to it.
2012-12-04 22:22:04 +01:00
Luiz Augusto von Dentz
474d67b631 gobex: add defines for possible values of SRM header 2012-12-04 22:22:04 +01:00
Johan Hedberg
e12802a76b gobex: Add Action command convenience functions 2012-12-04 22:22:02 +01:00
Johan Hedberg
58cd14d209 gobex: Remove _ID_ from header type definitions 2012-12-04 22:22:01 +01:00
Johan Hedberg
cdcde59687 gobex: Add va-args based packet creation support 2012-12-04 22:22:01 +01:00
Johan Hedberg
f8e95ce529 gobex: Make buffer parameter const for g_obex_header_new_bytes 2012-12-04 22:22:01 +01:00
Johan Hedberg
f5d10bf7cb gobex: Remove unneeded data_policy from g_obex_header_new_bytes 2012-12-04 22:22:01 +01:00
Johan Hedberg
0a4824ddb1 gobex: Make on-demand body headers a GObexPacket feature 2012-12-04 22:21:59 +01:00
Johan Hedberg
714abdfc72 gobex: Make on-demand header callbacks able to fail cleanly 2012-12-04 22:21:59 +01:00
Johan Hedberg
a3a72da600 gobex: Rename SRM Parameters definition to match spec. 2012-12-04 22:21:58 +01:00
Johan Hedberg
ad811dd51e gobex: Add support for on-demand headers 2012-12-04 22:21:58 +01:00
Johan Hedberg
aa1b87b6d8 gobex: Add initial GError support 2012-12-04 22:21:57 +01:00
Johan Hedberg
1dc2ad6f0b gobex: Use GLib size types 2012-12-04 22:21:57 +01:00
Johan Hedberg
b105277b97 gobex: Split gobex.c into multiple modules 2012-12-04 22:21:57 +01:00