Lines Matching refs:name
26 cnode* config_node(const char *name, const char *value) in config_node() argument
32 node->name = name ? name : ""; in config_node()
39 cnode* config_find(cnode *root, const char *name) in config_find() argument
45 if(!strcmp(node->name, name)) in config_find()
51 static cnode* _config_create(cnode *root, const char *name) in _config_create() argument
55 node = config_node(name, NULL); in _config_create()
67 int config_bool(cnode *root, const char *name, int _default) in config_bool() argument
71 node = config_find(root, name); in config_bool()
85 const char* config_str(cnode *root, const char *name, const char *_default) in config_str() argument
89 node = config_find(root, name); in config_str()
95 void config_set(cnode *root, const char *name, const char *value) in config_set() argument
99 node = config_find(root, name); in config_set()
103 node = _config_create(root, name); in config_set()