source: rtems/cpukit/include/rtems/score/rbtreeimpl.h @ 334de12e

5
Last change on this file since 334de12e was 334de12e, checked in by Andreas Dachsberger <andreas.dachsberger@…>, on 04/11/19 at 08:00:17

doxygen: score: adjust doc in rbtreeimpl.h to doxygen guidelines

Update #3706.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup RTEMSScoreRBTree
5 *
6 * @brief Inlined Routines Associated with Red-Black Trees
7 *
8 * This include file contains the bodies of the routines which are
9 * associated with Red-Black Trees and inlined.
10 *
11 * @note  The routines in this file are ordered from simple
12 *        to complex.  No other RBTree Handler routine is referenced
13 *        unless it has already been defined.
14 */
15
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
30extern "C" {
31#endif
32
33/**
34 * @addtogroup RTEMSScoreRBTree
35 *
36 * @{
37 */
38
39/**
40 * @brief Red-black tree visitor.
41 *
42 * @param[in] node The node.
43 * @param[in] visitor_arg The visitor argument.
44 *
45 * @retval true Stop the iteration.
46 * @retval false Continue the iteration.
47 *
48 * @see _RBTree_Iterate().
49 */
50typedef bool (*RBTree_Visitor)(
51  const RBTree_Node *node,
52  void *visitor_arg
53);
54
55/**
56 * @brief Red-black tree iteration.
57 *
58 * @param rbtree The red-black tree.
59 * @param visitor The visitor.
60 * @param visitor_arg The visitor argument.
61 */
62void _RBTree_Iterate(
63  const RBTree_Control *rbtree,
64  RBTree_Visitor visitor,
65  void *visitor_arg
66);
67
68/** @} */
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif
75/* end of include file */
Note: See TracBrowser for help on using the repository browser.