Function

PhocOutputConfignew

Declaration [src]

PhocOutputConfig*
phoc_output_config_new (
  const char* name
)

Description [src]

Create a new output config.

Parameters

name

Type: const char*

The name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: PhocOutputConfig

The new (empty) configuration.

The caller of the function takes ownership of the data, and is responsible for freeing it.