1pskc_str2pinusagemode(3)            libpskc           pskc_str2pinusagemode(3)
2
3
4

NAME

6       pskc_str2pinusagemode - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       pskc_pinusagemode pskc_str2pinusagemode(const char * pinusagemode);
12

ARGUMENTS

14       const char * pinusagemode
15                   an string describing a key usage.
16

DESCRIPTION

18       Convert   a   string   to   a  pskc_pinusagemode  type.   For  example,
19       pskc_str2pinusagemode("Local") will return PSKC_PINUSAGEMODE_LOCAL.
20

RETURNS

22       The corresponding pskc_pinusagemode value.
23

REPORTING BUGS

25       Report bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home  page:
26       https://www.nongnu.org/oath-toolkit/  General  help using GNU software:
27       http://www.gnu.org/gethelp/
28
30       Copyright © 2012-2020 Simon Josefsson.
31       Copying and distribution of this file, with  or  without  modification,
32       are  permitted in any medium without royalty provided the copyright no‐
33       tice and this notice are preserved.
34
35
36
37libpskc                              2.6.7            pskc_str2pinusagemode(3)
Impressum