diff --git a/src/config.c b/src/config.c index db6996c..ba042d6 100644 --- a/src/config.c +++ b/src/config.c @@ -49,6 +49,15 @@ int init_config() return 0; } +/** + * get_config_string: + * @xpath: xpath expression to configuration node + * + * Gets a value defined in the configuration file. + * + * Return value: the value; or NULL if not found. The string is internally + * allocated. It must not be freed or modified. + **/ char* get_config_string(char *xpath) { xmlXPathObjectPtr xpathObj;