ngx_rbtree_init()

This commit is contained in:
Igor Sysoev 2007-12-03 12:17:15 +00:00
parent 927cf70a5f
commit 413cc634bf

View file

@ -40,6 +40,13 @@ struct ngx_rbtree_s {
};
#define ngx_rbtree_init(tree, s, i) \
ngx_rbtree_sentinel_init(s); \
(tree)->root = s; \
(tree)->sentinel = s; \
(tree)->insert = i
void ngx_rbtree_insert(ngx_thread_volatile ngx_rbtree_t *tree,
ngx_rbtree_node_t *node);
void ngx_rbtree_delete(ngx_thread_volatile ngx_rbtree_t *tree,