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,
686 struct profile_node *node; in parse_line()
898 static void dump_profile(struct profile_node *root, int level, in dump_profile()
902 struct profile_node *p; in dump_profile()
965 errcode_t profile_write_tree_file(struct profile_node *root, FILE *dstfile) in profile_write_tree_file()
1003 errcode_t profile_write_tree_to_buffer(struct profile_node *root, in profile_write_tree_to_buffer()
1045 void profile_free_node(struct profile_node *node) in profile_free_node()
1047 struct profile_node *child, *next; in profile_free_node()
1083 struct profile_node **ret_node) in profile_create_node()
1085 struct profile_node *new; in profile_create_node()
1087 new = malloc(sizeof(struct profile_node)); in profile_create_node()
1090 memset(new, 0, sizeof(struct profile_node)); in profile_create_node()
1115 errcode_t profile_verify_node(struct profile_node *node) in profile_verify_node()
1117 struct profile_node *p, *last; in profile_verify_node()
1146 errcode_t profile_add_node(struct profile_node *section, const char *name, in profile_add_node()
1147 const char *value, struct profile_node **ret_node) in profile_add_node()
1150 struct profile_node *p, *last, *new; in profile_add_node()
1201 errcode_t profile_find_node(struct profile_node *section, const char *name, in profile_find_node()
1203 struct profile_node **node) in profile_find_node()
1205 struct profile_node *p; in profile_find_node()
1274 struct profile_node *node;
1332 errcode_t profile_node_iterator(void **iter_p, struct profile_node **ret_node, in profile_node_iterator()
1336 struct profile_node *section, *p; in profile_node_iterator()