shishi_ap_string2option(3) API function

SYNOPSIS

#include <shishi.h>

Shishi_apoptions shishi_ap_string2option(const char * str);

ARGUMENTS

const char * str
zero terminated character array with name of AP-Option, e.g. "use-session-key".

DESCRIPTION

Convert AP-Option name to AP-Option type.

RETURN VALUE

Returns enumerated type member corresponding to AP-Option, or 0 if string was not understood.

REPORTING BUGS

Report bugs to <[email protected]>.

COPYRIGHT

Copyright © 2002-2010 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.