1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "pskc_build_xml" 3 "2.6.1" "libpskc" "libpskc"
.SH NAME
pskc_build_xml \- API function
.SH SYNOPSIS
.B #include <pskc.h>
.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 <oath-toolkit-help@nongnu.org>.
libpskc home page: http://www.gnu.org/software/libpskc/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2012-2015 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.
|