ec_config_register_option
Last updated March 2020
Name
ec_config_register_option — Register a module option
Synopsis
#include "ec_config.h"
| int **ec_config_register_option** (
| option)
; | |
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.
See Also
Was this page helpful?