Data Fields | |
size_t | size |
uint32_t | magic |
off_t | magic_offset |
config_abbrev_t * | abbrevs |
config_var_t * | vars |
validate_fn_t | validate_fn |
config_var_t * | extra |
size_t config_format_t::size |
Size of the struct that everything gets parsed into.
Referenced by config_alloc().
uint32_t config_format_t::magic |
Required 'magic value' to make sure we have a struct of the right type.
Referenced by config_alloc().
Offset of the magic value within the struct.
Referenced by config_alloc().
List of abbreviations that we expand when parsing this format.
Referenced by expand_abbrev().
List of variables we recognize, their default values, and where we stick them in the structure.
Referenced by config_dump(), config_find_option(), config_free(), config_init(), and options_dup().
Function to validate config.
Referenced by config_dump().
If present, extra is a LINELIST variable for unrecognized lines. Otherwise, unrecognized lines are an error.
Referenced by config_assign_line(), config_dump(), and config_free().