Home | History | Annotate | Download | only in libcutils

Lines Matching refs:cnode

26 cnode* config_node(const char *name, const char *value)
28 cnode *node;
30 node = calloc(sizeof(cnode), 1);
39 cnode* config_find(cnode *root, const char *name)
41 cnode *node, *match = NULL;
51 static cnode* _config_create(cnode *root, const char *name)
53 cnode *node;
67 int config_bool(cnode *root, const char *name, int _default)
69 cnode *node;
85 const char* config_str(cnode *root, const char *name, const char *_default)
87 cnode *node;
95 void config_set(cnode *root, const char *name, const char *value)
97 cnode *node;
243 static int parse_expr(cstate *cs, cnode *node);
245 static int parse_block(cstate *cs, cnode *node)
262 static int parse_expr(cstate *cs, cnode *root)
264 cnode *node;
292 void config_load(cnode *root, char *data)
312 void config_load_file(cnode *root, const char *fn)
319 void config_free(cnode *root)
321 cnode *cur = root->first_child;
324 cnode *prev = cur;