Set a config item by string. More...
Functions | |
static int | address_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set an Address config item by Address object - Implements ConfigSetType::native_set() -. More... | |
static int | bool_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a Bool config item by bool - Implements ConfigSetType::native_set() -. More... | |
static int | enum_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set an Enumeration config item by int - Implements ConfigSetType::native_set() -. More... | |
static int | long_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a Long config item by long - Implements ConfigSetType::native_set() -. More... | |
static int | mbtable_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set an MbTable config item by MbTable object - Implements ConfigSetType::native_set() -. More... | |
static int | number_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a Number config item by int - Implements ConfigSetType::native_set() -. More... | |
static int | path_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a Path config item by string - Implements ConfigSetType::native_set() -. More... | |
static int | quad_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a Quad-option config item by int - Implements ConfigSetType::native_set() -. More... | |
static int | regex_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a Regex config item by Regex object - Implements ConfigSetType::native_set() -. More... | |
static int | slist_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a Slist config item by Slist - Implements ConfigSetType::native_set() -. More... | |
static int | sort_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a Sort config item by int - Implements ConfigSetType::native_set() -. More... | |
static int | string_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Set a String config item by string - Implements ConfigSetType::native_set() -. More... | |
Set a config item by string.
cs | Config items |
var | Variable to set |
cdef | Variable definition |
value | Native pointer/value to set |
err | Buffer for error messages (may be NULL) |
num | Result, e.g. CSR_SUCCESS |
Contract
|
static |
Set an Address config item by Address object - Implements ConfigSetType::native_set() -.
Definition at line 161 of file address.c.
|
static |
Set a Bool config item by bool - Implements ConfigSetType::native_set() -.
Definition at line 125 of file bool.c.
|
static |
Set an Enumeration config item by int - Implements ConfigSetType::native_set() -.
Definition at line 119 of file enum.c.
|
static |
Set a Long config item by long - Implements ConfigSetType::native_set() -.
Definition at line 108 of file long.c.
|
static |
Set an MbTable config item by MbTable object - Implements ConfigSetType::native_set() -.
Definition at line 197 of file mbtable.c.
|
static |
Set a Number config item by int - Implements ConfigSetType::native_set() -.
Definition at line 115 of file number.c.
|
static |
Set a Path config item by string - Implements ConfigSetType::native_set() -.
Definition at line 156 of file path.c.
|
static |
Set a Quad-option config item by int - Implements ConfigSetType::native_set() -.
Definition at line 127 of file quad.c.
|
static |
Set a Regex config item by Regex object - Implements ConfigSetType::native_set() -.
Definition at line 203 of file regex.c.
|
static |
Set a Slist config item by Slist - Implements ConfigSetType::native_set() -.
Definition at line 141 of file slist.c.
|
static |
Set a Sort config item by int - Implements ConfigSetType::native_set() -.
Definition at line 152 of file sort.c.
|
static |
Set a String config item by string - Implements ConfigSetType::native_set() -.
Definition at line 128 of file string.c.