Lines Matching refs:profile_node
97 struct profile_node *root;
135 struct profile_node { struct
142 struct profile_node *first_child; argument
143 struct profile_node *parent; argument
144 struct profile_node *next, *prev; argument
156 struct profile_node *root_section;
157 struct profile_node *current_section;
168 (struct profile_node *root, FILE *dstfile);
171 (struct profile_node *root, char **buf);
176 (struct profile_node *relation);
180 struct profile_node **ret_node);
184 (struct profile_node *node);
188 (struct profile_node *section,
190 struct profile_node **ret_node);
193 (struct profile_node *section,
196 struct profile_node **node);
199 (void **iter_p, struct profile_node **ret_node,
690 struct profile_node *node; in parse_line()
902 static void dump_profile(struct profile_node *root, int level, in dump_profile()
906 struct profile_node *p; in dump_profile()
969 errcode_t profile_write_tree_file(struct profile_node *root, FILE *dstfile) in profile_write_tree_file()
1007 errcode_t profile_write_tree_to_buffer(struct profile_node *root, in profile_write_tree_to_buffer()
1049 void profile_free_node(struct profile_node *node) in profile_free_node()
1051 struct profile_node *child, *next; in profile_free_node()
1085 struct profile_node **ret_node) in profile_create_node()
1087 struct profile_node *new; in profile_create_node()
1089 new = malloc(sizeof(struct profile_node)); in profile_create_node()
1092 memset(new, 0, sizeof(struct profile_node)); in profile_create_node()
1117 errcode_t profile_verify_node(struct profile_node *node) in profile_verify_node()
1119 struct profile_node *p, *last; in profile_verify_node()
1148 errcode_t profile_add_node(struct profile_node *section, const char *name, in profile_add_node()
1149 const char *value, struct profile_node **ret_node) in profile_add_node()
1152 struct profile_node *p, *last, *new; in profile_add_node()
1203 errcode_t profile_find_node(struct profile_node *section, const char *name, in profile_find_node()
1205 struct profile_node **node) in profile_find_node()
1207 struct profile_node *p; in profile_find_node()
1276 struct profile_node *node;
1334 errcode_t profile_node_iterator(void **iter_p, struct profile_node **ret_node, in profile_node_iterator()
1338 struct profile_node *section, *p; in profile_node_iterator()