Skip to main content

Name

ec_config_null_value — Initialize storage for a configuration option

Synopsis

#include "ec_config.h"

| ec_config_value * **ec_config_null_value** ( | option_slot); |   |

int <var class="pdparam">option_slot</var>;

Description

Initialize storage for the value associated with a configuration option. If the option specified by option_slot exists, return a pointer to an ec_config_value associated with that slot.

Parameters

option_slot

The option identifier. This integer is returned when an option is registered.

Return Values

On success this function returns a pointer to an ec_config_value struct. Otherwise it returns NULL.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?