Cthulhu
0.2.10
Cthulhu compiler collection
|
Go to the source code of this file.
Macros | |
#define | CFG_TYPE(id, name) [id] = (name), |
#define | CFG_ARG(id, name, prefix) [id] = (name), |
#define | CFG_ARG(id, name, prefix) [id] = (prefix), |
Functions | |
STA_DECL cfg_type_t | cfg_get_type (const cfg_field_t *field) |
get the type of a configuration field More... | |
STA_DECL const cfg_info_t * | cfg_get_info (const cfg_field_t *field) |
get the information about a configuration field More... | |
STA_DECL const cfg_info_t * | cfg_group_info (const cfg_group_t *config) |
get the information about a configuration group More... | |
STA_DECL typevec_t * | cfg_get_groups (const cfg_group_t *config) |
get all subgroups in a configuration group More... | |
STA_DECL vector_t * | cfg_get_fields (const cfg_group_t *config) |
get all fields in a configuration group More... | |
STA_DECL const cfg_int_t * | cfg_int_info (const cfg_field_t *field) |
get the information about an integer field More... | |
STA_DECL bool | cfg_bool_info (const cfg_field_t *field) |
get the information about a yes/no field More... | |
STA_DECL const char * | cfg_string_info (const cfg_field_t *field) |
get the information about a string field More... | |
STA_DECL const vector_t * | cfg_vector_info (const cfg_field_t *field) |
get the information about a vector field More... | |
STA_DECL const cfg_enum_t * | cfg_enum_info (const cfg_field_t *field) |
get the information about a choice field More... | |
STA_DECL const cfg_enum_t * | cfg_flags_info (const cfg_field_t *field) |
get the information about a flags field More... | |
STA_DECL const char * | cfg_type_string (cfg_type_t type) |
get the name of a configuration type More... | |
STA_DECL const char * | cfg_arg_string (arg_style_t style) |
get the name of an argument style More... | |
STA_DECL const char * | cfg_arg_prefix (arg_style_t style) |
get the prefix for an argument style More... | |
STA_DECL int | cfg_int_value (const cfg_field_t *field) |
access More... | |
STA_DECL bool | cfg_bool_value (const cfg_field_t *field) |
get the current boolean value of a configuration field More... | |
STA_DECL const char * | cfg_string_value (const cfg_field_t *field) |
get the current string value of a configuration field More... | |
STA_DECL vector_t * | cfg_vector_value (const cfg_field_t *field) |
get the current vector value of a configuration field More... | |
STA_DECL size_t | cfg_enum_value (const cfg_field_t *field) |
get the current enum value of a configuration field More... | |
STA_DECL size_t | cfg_flags_value (const cfg_field_t *field) |
get the current flags value of a configuration field More... | |
#define CFG_ARG | ( | id, | |
name, | |||
prefix | |||
) | [id] = (name), |
#define CFG_ARG | ( | id, | |
name, | |||
prefix | |||
) | [id] = (prefix), |
#define CFG_TYPE | ( | id, | |
name | |||
) | [id] = (name), |