Lines Matching defs:key
62 /** pointer to sorting key */
63 const void *key;
91 * Create new tree (malloced) with given key compare function.
98 * Init a new tree (malloced by caller) with given key compare function.
108 * @return: data ptr or NULL if key already present.
115 * @param key: key of item to delete.
119 rbnode_t *rbtree_delete(rbtree_t *rbtree, const void *key);
122 * Find key in tree. Returns NULL if not found.
124 * @param key: key that must match.
127 rbnode_t *rbtree_search(rbtree_t *rbtree, const void *key);
132 * @param key: key to find position of.
134 * precedes the position of key in the tree. NULL if no smaller element.
136 * or NULL if key is smaller than the smallest key.
138 int rbtree_find_less_equal(rbtree_t *rbtree, const void *key,