Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
pskc_build_xml(3)		     libpskc		       pskc_build_xml(3)

NAME
     pskc_build_xml - API function

SYNOPSIS
     #include <pskc.h>

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

ARGUMENTS
     pskc_t * container
		 a pskc_t handle, from pskc_init().

     char ** out pointer to output variable to hold newly allocated string.

     size_t * lenoutput variable holding length of *out.

DESCRIPTION
     This  function  builds  a XML file from the data in container.  As a conve-
     nience, it also converts the XML into a string placed in  the  newly  allo-
     cated *out of length len using pskc_output() with PSKC_OUTPUT_XML.

RETURNS
     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:
     https://oath-toolkit.codeberg.page/   General   help  using  GNU  software:
     http://www.gnu.org/gethelp/

COPYRIGHT
     Copyright (C) 2009-2026 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.

libpskc 			     2.6.14		       pskc_build_xml(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pskc_build_xml&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help