Lines Matching refs:cil_tree_node
44 void cil_tree_print_perms_list(struct cil_tree_node *current_perm);
49 void cil_tree_print_expr_tree(struct cil_tree_node *expr_root);
51 void cil_tree_print_node(struct cil_tree_node *node);
62 struct cil_tree_node *cil_tree_get_next_path(struct cil_tree_node *node, char **path, int* is_cil)
101 char *cil_tree_get_cil_path(struct cil_tree_node *node)
116 __attribute__((format (printf, 3, 4))) void cil_tree_log(struct cil_tree_node *node, enum cil_log_level lvl, const char* msg, ...)
170 void cil_tree_subtree_destroy(struct cil_tree_node *node)
176 void cil_tree_children_destroy(struct cil_tree_node *node)
178 struct cil_tree_node *start_node = node;
179 struct cil_tree_node *next = NULL;
208 void cil_tree_node_init(struct cil_tree_node **node)
210 struct cil_tree_node *new_node = cil_malloc(sizeof(*new_node));
223 void cil_tree_node_destroy(struct cil_tree_node **node)
260 int cil_tree_walk_core(struct cil_tree_node *node,
261 int (*process_node)(struct cil_tree_node *node, uint32_t *finished, void *extra_args),
262 int (*first_child)(struct cil_tree_node *node, void *extra_args),
263 int (*last_child)(struct cil_tree_node *node, void *extra_args),
296 int cil_tree_walk(struct cil_tree_node *node,
297 int (*process_node)(struct cil_tree_node *node, uint32_t *finished, void *extra_args),
298 int (*first_child)(struct cil_tree_node *node, void *extra_args),
299 int (*last_child)(struct cil_tree_node *node, void *extra_args),
523 void cil_tree_print_perms_list(struct cil_tree_node *current_perm)
673 cil_tree_node *node)
1691 cil_tree_print_node((struct cil_tree_node*)datum->nodes->head->data);
1736 void cil_tree_print(struct cil_tree_node *tree, uint32_t depth)
1738 struct cil_tree_node *current = NULL;