SysTutorials

Linux Manual Pages › Section 3

pskc_str2valueformat(3)

pskc_str2valueformat – API function

Synopsis

#include <pskc.h>

pskc_valueformat pskc_str2valueformat(const char * valueformat);

Arguments

const char * valueformat
an string describing a key usage.

Description

Convert a string to a pskc_valueformat type. For example, pskc_str2valueformat("DECIMAL") will return PSKC_VALUEFORMAT_DECIMAL.

Returns

The corresponding pskc_valueformat value.

Reporting Bugs

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

Copyright

Copyright © 2012 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.