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