Function
PhocConfignew_from_file
Declaration [src]
PhocConfig*
phoc_config_new_from_file (
const char* config_path
)
Description [src]
Parse the file at the given location into a configuration.
This function is not directly available to language bindings.
Parameters
config_path
-
Type:
const char*
The config file location.
The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PhocConfig
The parsed configuration.
The data is owned by the called function. |