pskc_str2pinusagemode - API function
#include <pskc.h>
pskc_pinusagemode pskc_str2pinusagemode(const char *
pinusagemode);
- const char * pinusagemode
- an string describing a key usage.
Convert a string to a pskc_pinusagemode type. For example,
pskc_str2pinusagemode("Local") will return
PSKC_PINUSAGEMODE_LOCAL.
The corresponding pskc_pinusagemode value.
Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
https://www.nongnu.org/oath-toolkit/ General help using GNU software:
http://www.gnu.org/gethelp/
Copyright © 2012-2020 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.