.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "pskc_build_xml" 3 "2.6.6" "libpskc" "libpskc" .SH NAME pskc_build_xml \- API function .SH SYNOPSIS .B #include .sp .BI "int pskc_build_xml(pskc_t * " container ", char ** " out ", size_t * " len ");" .SH ARGUMENTS .IP "pskc_t * container" 12 a \fBpskc_t\fP handle, from \fBpskc_init()\fP. .IP "char ** out" 12 pointer to output variable to hold newly allocated string. .IP "size_t * len" 12 output variable holding length of *\fIout\fP. .SH "DESCRIPTION" This function builds a XML file from the data in \fIcontainer\fP. As a convenience, it also converts the XML into a string placed in the newly allocated *\fIout\fP of length \fIlen\fP using \fBpskc_output()\fP with \fBPSKC_OUTPUT_XML\fP. .SH "RETURNS" On success, \fBPSKC_OK\fP (zero) is returned, on memory allocation errors \fBPSKC_MALLOC_ERROR\fP is returned. .SH "REPORTING BUGS" Report bugs to . libpskc home page: http://www.gnu.org/software/libpskc/ General help using GNU software: http://www.gnu.org/gethelp/ .SH COPYRIGHT Copyright \(co 2012-2020 Simon Josefsson. .br 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.