Tor
0.4.7.0-alpha-dev
|
#include <conftypes.h>
Data Fields | |
const char * | name |
config_type_t | type |
const struct var_type_def_t * | type_def |
ptrdiff_t | offset |
Structure to specify a named, typed member within a structure.
Definition at line 96 of file conftypes.h.
const char* name |
Name of the field.
Definition at line 98 of file conftypes.h.
Referenced by config_assign_value(), config_find_option_name(), managed_var_cmp(), struct_var_get_name(), and struct_var_kvencode().
ptrdiff_t offset |
Offset of this field within the structure. Compute this with offsetof(structure, fieldname).
Definition at line 125 of file conftypes.h.
Referenced by struct_get_mptr(), and struct_get_ptr().
config_type_t type |
Type of the field, according to the config_type_t enumeration.
For any type not otherwise listed in config_type_t, this field's value should be CONFIG_TYPE_EXTENDED. When it is, the type_def pointer must be set.
Definition at line 114 of file conftypes.h.
Referenced by get_type_def().
const struct var_type_def_t* type_def |
Pointer to a type definition for the type of this field. Overrides type if it is not NULL. Must be set when type is CONFIG_TYPE_EXTENDED.
Definition at line 120 of file conftypes.h.
Referenced by get_type_def().