pskc_str2pinusagemode man page

pskc_str2pinusagemode — API function

Synopsis

#include <pskc.h>

pskc_pinusagemode pskc_str2pinusagemode(const char * pinusagemode);

Arguments

const char * pinusagemode
an string describing a key usage.

Description

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

Returns

The corresponding pskc_pinusagemode value.

Reporting Bugs

Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page: http://www.gnu.org/software/libpskc/ General help using GNU software: http://www.gnu.org/gethelp/

Info

2.6.1 libpskc libpskc