RTEMS
cpukit
include
rtems
score
chain.h
Go to the documentation of this file.
1
9
/*
10
* Copyright (c) 2010 embedded brains GmbH.
11
*
12
* COPYRIGHT (c) 1989-2006.
13
* On-Line Applications Research Corporation (OAR).
14
*
15
* The license and distribution terms for this file may be
16
* found in the file LICENSE in this distribution or at
17
* http://www.rtems.org/license/LICENSE.
18
*/
19
20
#ifndef _RTEMS_SCORE_CHAIN_H
21
#define _RTEMS_SCORE_CHAIN_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
51
typedef
struct
Chain_Node_struct
Chain_Node
;
52
68
struct
Chain_Node_struct
{
70
Chain_Node
*
next
;
72
Chain_Node
*
previous
;
73
};
74
86
typedef
union
{
87
struct
{
88
Chain_Node
Node;
89
Chain_Node
*fill;
90
} Head;
91
92
struct
{
93
Chain_Node
*fill;
94
Chain_Node
Node;
95
} Tail;
96
}
Chain_Control
;
97
100
#ifdef __cplusplus
101
}
102
#endif
103
104
#endif
105
/* end of include file */
Chain_Node_struct
Definition:
chain.h:68
Chain_Node_struct::previous
Chain_Node * previous
Definition:
chain.h:72
Chain_Control
Definition:
chain.h:86
Chain_Node_struct::next
Chain_Node * next
Definition:
chain.h:70
Generated by
1.8.14