1pskc_set_version(3)                 libpskc                pskc_set_version(3)
2
3
4

NAME

6       pskc_set_version - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       void pskc_set_version(pskc_t * container, const char * version);
12

ARGUMENTS

14       pskc_t * container
15                   a pskc_t handle, from pskc_init().
16
17       const char * version
18                   pointer to version string to set.
19

DESCRIPTION

21       Set  the  PSKC KeyContainer Version attribute.  Normally this string is
22       always "1.0" and a missing field is a syntax  error  according  to  the
23       PSKC schema.
24
25       The pointer is stored in container, not a copy of the data, so you must
26       not deallocate the data before another call to  this  function  or  the
27       last call to any function using container.
28

SINCE

30       2.2.0
31

REPORTING BUGS

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