Scroll to navigation

firestring_estr_xml_decode(3) Library Functions Manual firestring_estr_xml_decode(3)

NAME

firestring_estr_xml_decode - decode an estring from XML quoted data into ASCII into another estring

SYNOPSIS

#include <firestring.h>
 
-lfirestring
int firestring_estr_xml_decode(struct firestring_estr_t *destination, struct firestring_estr_t *source)

DESCRIPTION

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.

AUTHOR

Ian Gulliver <ian@penguinhosting.net>

SEE ALSO

libfirestring(3)
2002-09-21