pskc_build_xml (3) - Linux Man Pages
pskc_build_xml: API function
NAMEpskc_build_xml - API function
- pskc_t * container
- a pskc_t handle, from pskc_init().
- char ** out
- pointer to output variable to hold newly allocated string.
- size_t * len
- output variable holding length of *out.
DESCRIPTIONThis function builds a XML file from the data in container. As a convenience, it also converts the XML into a string placed in the newly allocated *out of length len using pskc_output() with PSKC_OUTPUT_XML.
RETURNSOn success, PSKC_OK (zero) is returned, on memory allocation errors PSKC_MALLOC_ERROR is returned.
REPORTING BUGSReport bugs to <oath-toolkit-help [at] nongnu.org>. libpskc home page: http://www.gnu.org/software/libpskc/ General help using GNU software: http://www.gnu.org/gethelp/
COPYRIGHTCopyright © 2012 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.