firestring_estr_xml_decode(3)

firestring_estr_xml_decode3

Decode an estring from xml quoted data into ascii into another estring

Usage

#include <firestring.h>
-lfirestring

int firestring_estr_xml_decode(struct firestring_estr_t *destination, struct firestring_estr_t *source)

Overview

firestring_estr_xml_decode() decodes the contents of source by converting XML entities back into their ASCII/ISO equivalents. It places the output in destination, provided that there is room in destination. The minimum required space in destination is the length of source; in fact, they can be the same estring.

Return value

0 if the string was decoded successfully; 1 if there was insufficient space in destination for the decoding to occur.

Releases

Unchanged in 6 releases since Debian 3.1 (Sarge).

  1. 3.1–8

Author

Ian Gulliver <[email protected]>

From libfirestring-dev 0.9.12-8 in Debian 8 (Jessie). Parsed by carta from the page's man source.