CONF_get_number

Look up a numeric value in a legacy CONF LHASH.

Synopsis

Declared in <openssl/conf.h>

long
CONF_get_number(
    lhash_st_CONF_VALUE* conf,
    char const* group,
    char const* name);

Return Value

Parsed long integer, or 0 if missing / not a number (errors are not distinguished).

Parameters

NameDescription
confConfiguration hash from CONF_load*().
groupSection name, or NULL for the default section.
nameKey name within the section.