Home
last modified time | relevance | path

Searched refs:ppr_tree (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dtree.c93 tree_init(tree **ppr_tree) { in tree_init() argument
95 *ppr_tree = NULL; in tree_init()
100 tree_srch(tree **ppr_tree, int (*pfi_compare)(tree_t, tree_t), tree_t p_user) { in tree_srch() argument
103 if (*ppr_tree) { in tree_srch()
104 int i_comp = (*pfi_compare)(p_user, (**ppr_tree).data); in tree_srch()
107 RET(tree_srch(&(**ppr_tree).right, in tree_srch()
112 RET(tree_srch(&(**ppr_tree).left, in tree_srch()
118 RET((**ppr_tree).data) in tree_srch()
127 tree_add(tree **ppr_tree, int (*pfi_compare)(tree_t, tree_t), in tree_add() argument
133 if (!sprout(ppr_tree, p_user, &i_balance, pfi_compare, pfv_uar)) in tree_add()
[all …]