RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
20extern "C" {
21#endif /* __cplusplus */
22
23#include <rtems/chain.h>
24
28typedef bool (*rtems_chain_iterator) (rtems_chain_node* node, void* data);
29
42bool
44 rtems_chain_iterator iterator,
45 void* data);
46
54
55#ifdef __cplusplus
56}
57#endif /* __cplusplus */
58
59#endif
Chain API.
bool(* rtems_chain_iterator)(rtems_chain_node *node, void *data)
Definition: rtl-chain-iterator.h:28
bool rtems_rtl_chain_iterate(rtems_chain_control *chain, rtems_chain_iterator iterator, void *data)
Definition: rtl-chain-iterator.c:25
int rtems_rtl_chain_count(rtems_chain_control *chain)
Definition: rtl-chain-iterator.c:52
Definition: chain.h:68
Definition: chain.h:86