ec_config_register_option
Name
ec_config_register_option — Register a module option
Synopsis
#include "ec_config.h"
| int **ec_config_register_option** (
| option)
; | |
ec_config_option_def * <var class="pdparam">option</var>
;
Description
Register a module option. After registering an option, use ec_config_null_value to initialize the value of the option.
- option
-
A pointer to an ec_config_option_def struct.
On success this function returns the slot member of an ec_config_option_internal struct. On failure -1
is returned.
It is legal to call this function in the thread.