Method

PhocOutputsStatesupdate

Declaration [src]

void
phoc_outputs_states_update (
  PhocOutputsStates* self,
  const char* identifier,
  GPtrArray* output_configs
)

Description [src]

Add the given configuration to the list of known output states.

Parameters

identifier

Type: const char*

The identifier we want to update the outputs state for.

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

Type: An array of PhocOutputConfig*

The new output config.

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