4.115
Last change
on this file since b3263f5 was
b3263f5,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/20/10 at 13:26:55
|
2010-08-16 Ralf Corsépius <ralf.corsepius@…>
- sapi/include/rtems/chain.h: Move extern "C".
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/chain.h |
---|
3 | * |
---|
4 | * This include file contains all the constants and structures associated |
---|
5 | * with the Chain API in RTEMS. The chain is a double linked list that |
---|
6 | * is part of the Super Core. This is the published interface to that |
---|
7 | * code. |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | /* |
---|
12 | * COPYRIGHT (c) 1989-2008. |
---|
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.com/license/LICENSE. |
---|
18 | * |
---|
19 | * $Id$ |
---|
20 | */ |
---|
21 | |
---|
22 | #ifndef _RTEMS_CHAIN_H |
---|
23 | #define _RTEMS_CHAIN_H |
---|
24 | |
---|
25 | #include <rtems/system.h> |
---|
26 | #include <rtems/score/chain.h> |
---|
27 | |
---|
28 | #ifdef __cplusplus |
---|
29 | extern "C" { |
---|
30 | #endif |
---|
31 | |
---|
32 | /** |
---|
33 | * @typedef rtems_chain_node |
---|
34 | * |
---|
35 | * A node that can be manipulated in the chain. |
---|
36 | */ |
---|
37 | typedef Chain_Node rtems_chain_node; |
---|
38 | |
---|
39 | /** |
---|
40 | * @typedef rtems_chain_control |
---|
41 | * |
---|
42 | * The chain's control anchors the chain. |
---|
43 | */ |
---|
44 | typedef Chain_Control rtems_chain_control; |
---|
45 | |
---|
46 | /** |
---|
47 | * @brief Chain initializer for an empty chain with designator @a name. |
---|
48 | */ |
---|
49 | #define RTEMS_CHAIN_INITIALIZER_EMPTY(name) \ |
---|
50 | CHAIN_INITIALIZER_EMPTY(name) |
---|
51 | |
---|
52 | /** |
---|
53 | * @brief Chain definition for an empty chain with designator @a name. |
---|
54 | */ |
---|
55 | #define RTEMS_CHAIN_DEFINE_EMPTY(name) \ |
---|
56 | CHAIN_DEFINE_EMPTY(name) |
---|
57 | |
---|
58 | #include <rtems/chain.inl> |
---|
59 | |
---|
60 | #ifdef __cplusplus |
---|
61 | } |
---|
62 | #endif |
---|
63 | |
---|
64 | #endif |
---|
65 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.