1pskc_output(3)                      libpskc                     pskc_output(3)
2
3
4

NAME

6       pskc_output - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       int  pskc_output(pskc_t * container, pskc_output_formats_t format, char
12       ** out, size_t * len);
13

ARGUMENTS

15       pskc_t * container
16                   a pskc_t handle, from pskc_init().
17
18       pskc_output_formats_t format
19                   an pskc_output_formats_t enumeration type  indicating  for‐
20                   mat.
21
22       char ** out pointer to output variable holding newly allocated string.
23
24       size_t * len
25                   pointer to output variable hold length of *out.
26

DESCRIPTION

28       Convert  PSKC  data to a serialized string of the indicated type.  This
29       is usually used to convert the PSKC data to some human readable form.
30

RETURNS

32       PSKC_OK on success, or an error code.
33

REPORTING BUGS

35       Report bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home  page:
36       https://www.nongnu.org/oath-toolkit/  General  help using GNU software:
37       http://www.gnu.org/gethelp/
38
40       Copyright © 2012-2020 Simon Josefsson.
41       Copying and distribution of this file, with  or  without  modification,
42       are  permitted in any medium without royalty provided the copyright no‐
43       tice and this notice are preserved.
44
45
46
47libpskc                              2.6.7                      pskc_output(3)
Impressum