RTEMS
5.0.0
cpukit
libdl
rtl-chain-iterator.h
Go to the documentation of this file.
1
/*
2
* COPYRIGHT (c) 2012 Chris Johns <chrisj@rtems.org>
3
*
4
* The license and distribution terms for this file may be
5
* found in the file LICENSE in this distribution or at
6
* http://www.rtems.org/license/LICENSE.
7
*/
16
#if !defined (_RTEMS_RTL_CHAIN_ITERATOR_H_)
17
#define _RTEMS_RTL_CHAIN_ITERATOR_H_
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
/* __cplusplus */
22
23
#include <
rtems/chain.h
>
24
28
typedef
bool (*
rtems_chain_iterator
) (
rtems_chain_node
* node,
void
* data);
29
42
bool
43
rtems_rtl_chain_iterate
(
rtems_chain_control
* chain,
44
rtems_chain_iterator
iterator,
45
void
* data);
46
53
int
rtems_rtl_chain_count
(
rtems_chain_control
* chain);
54
55
#ifdef __cplusplus
56
}
57
#endif
/* __cplusplus */
58
59
#endif
Chain_Node_struct
Definition:
chain.h:65
Chain_Control
Definition:
chain.h:83
rtems_rtl_chain_iterate
bool rtems_rtl_chain_iterate(rtems_chain_control *chain, rtems_chain_iterator iterator, void *data)
Definition:
rtl-chain-iterator.c:25
chain.h
Chain API.
rtems_rtl_chain_count
int rtems_rtl_chain_count(rtems_chain_control *chain)
Definition:
rtl-chain-iterator.c:52
rtems_chain_iterator
bool(* rtems_chain_iterator)(rtems_chain_node *node, void *data)
Definition:
rtl-chain-iterator.h:28
Generated by
1.8.13