NAME¶
firestring_conf_find - retrieve a value from a configuration structure
SYNOPSIS¶
#include <firestring.h>
-lfirestring
const char *firestring_conf_find(struct firestring_conf_t
*config, const char *var)
DESCRIPTION¶
firestring_conf_find() retrieves the value of the variable
var from the
configuration structure
config. If there is more than one variable with
the name
var, firestring_conf_find() returns the one with precedence
(the last one added).
RETURN VALUE¶
Returns a
const char * to the value of the variable, or
NULL if
there is no variable by the name
var.
AUTHOR¶
Ian Gulliver <ian@penguinhosting.net>
SEE ALSO¶
libfirestring(3)