Lines Matching defs:action
31 cmp_fn_t action, int level)
35 (*action)(root, leaf, level);
37 (*action)(root, preorder, level);
39 trecurse(root->llink, action, level + 1);
40 (*action)(root, postorder, level);
42 trecurse(root->rlink, action, level + 1);
43 (*action)(root, endorder, level);
49 twalk(const void *vroot, cmp_fn_t action) /* Root of the tree to be walked */
51 if (vroot != NULL && action != NULL)
52 trecurse(vroot, action, 0);