RTEMS
rbtreeimpl.h
Go to the documentation of this file.
1 
16 /*
17  * Copyright (c) 2010-2012 Gedare Bloom.
18  *
19  * The license and distribution terms for this file may be
20  * found in the file LICENSE in this distribution or at
21  * http://www.rtems.org/license/LICENSE.
22  */
23 
24 #ifndef _RTEMS_SCORE_RBTREEIMPL_H
25 #define _RTEMS_SCORE_RBTREEIMPL_H
26 
27 #include <rtems/score/rbtree.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
50 typedef bool (*RBTree_Visitor)(
51  const RBTree_Node *node,
52  void *visitor_arg
53 );
54 
62 void _RBTree_Iterate(
63  const RBTree_Control *rbtree,
64  RBTree_Visitor visitor,
65  void *visitor_arg
66 );
67 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif
75 /* end of include file */
void _RBTree_Iterate(const RBTree_Control *rbtree, RBTree_Visitor visitor, void *visitor_arg)
Red-black tree iteration.
Constants and Structures Associated with the Red-Black Tree Handler.
Red-black tree node.
Definition: rbtree.h:55
bool(* RBTree_Visitor)(const RBTree_Node *node, void *visitor_arg)
Red-black tree visitor.
Definition: rbtreeimpl.h:50