RTEMS
5.0.0
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
48
typedef
struct
Chain_Node_struct
Chain_Node
;
49
65
struct
Chain_Node_struct
{
67
Chain_Node
*
next
;
69
Chain_Node
*
previous
;
70
};
71
83
typedef
union
{
84
struct
{
85
Chain_Node
Node;
86
Chain_Node
*fill;
87
} Head;
88
89
struct
{
90
Chain_Node
*fill;
91
Chain_Node
Node;
92
} Tail;
93
}
Chain_Control
;
94
97
#ifdef __cplusplus
98
}
99
#endif
100
101
#endif
102
/* end of include file */
Chain_Node_struct
Definition:
chain.h:65
Chain_Node_struct::previous
Chain_Node * previous
Definition:
chain.h:69
Chain_Control
Definition:
chain.h:83
Chain_Node_struct::next
Chain_Node * next
Definition:
chain.h:67
Generated by
1.8.13