Next: po_filepos_t API, Previous: po_message_t API, Up: libgettextpo [Contents][Index]
The following functions provide an interface to extract and manipulate
the header entry (see Header Entry) from a file loaded in memory.
The meta information must be written back into the domain message with
the empty string as msgid
.
file
, const char *domain
)file
, a PO file loaded in memory. The value NULL
provided as domain
denotes the default domain. Returns NULL
if there is no header entry.header
, const char *field
)field
in the header
entry. The return value is either a freshly allocated string, to be freed by the caller, or NULL
.header
, const char *field
, const char *value
)header
with field
set to value
. The field is added if necessary.