documented memory management of get_config_string

This commit is contained in:
fpeters 2005-01-27 23:05:20 +00:00
parent 444e33493f
commit ab24bd351b
1 changed files with 9 additions and 0 deletions

View File

@ -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;