Function

PhocConfignew_from_data

Declaration [src]

PhocConfig*
phoc_config_new_from_data (
  const char* data
)

Description [src]

Parse the given config data.

This function is not directly available to language bindings.

Parameters

data

Type: const char*

The config data.

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.