Name

mt_get_config_option — gets configuration option

Synopsis

const char *mt_get_config_option(MT_CONFIG *cfg, const char *name, const char *section);

Description

Returns the value of configuration option or NULL when the option doesn't exist.

If section is NULL then the default section is used.