pskc_build_xml(3)

pskc_build_xml3

Api function

Usage

#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 * len

output variable holding length of *out.

Overview

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.

Returns

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

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

Reporting bugs

Report bugs to <[email protected]>. libpskc home page: https://oath-toolkit.codeberg.page/ General help using GNU software: http://www.gnu.org/gethelp/

From oath-toolkit 2.6.15-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.