Cthulhu  0.2.10
Cthulhu compiler collection
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
update.c File Reference
#include "base/util.h"
#include "common.h"
#include "std/vector.h"
Include dependency graph for update.c:

Go to the source code of this file.

Functions

STA_DECL bool cfg_set_int (cfg_field_t *field, int value)
 set the current value of an int field More...
 
STA_DECL void cfg_set_bool (cfg_field_t *field, bool value)
 set the current value of a bool field More...
 
STA_DECL void cfg_set_string (cfg_field_t *field, char *value)
 set the current value of a string field More...
 
STA_DECL void cfg_vector_push (cfg_field_t *field, char *value)
 push a new value onto an array field More...
 
STA_DECL bool cfg_set_enum (cfg_field_t *field, const char *choice)
 set the current value of an enum field set the value via a string name More...
 
STA_DECL void cfg_set_enum_value (cfg_field_t *field, size_t value)
 set the current value of an enum field set the value via an integer value More...
 
STA_DECL bool cfg_set_flag (cfg_field_t *field, const char *choice, bool set)
 set the current value of a flags field set the value via a string name More...
 
STA_DECL void cfg_set_flag_value (cfg_field_t *field, size_t value)
 set the current value of a flags field set the value via an integer value More...