pskc_build_xml man page

pskc_build_xml — API function


#include <pskc.h>

int pskc_build_xml(pskc_t * container, char ** out, size_t * len);


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.


This 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.


On success, PSKC_OK (zero) is returned, on memory allocation errors PSKC_MALLOC_ERROR is returned.

Reporting Bugs

Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page: http://www.gnu.org/software/libpskc/ General help using GNU software: http://www.gnu.org/gethelp/


libpskc 2.6.1