1 | /** |
---|
2 | * @file IxTypes.h (Replaced by OSAL) |
---|
3 | * |
---|
4 | * @date 28-NOV-2001 |
---|
5 | |
---|
6 | * @brief This file contains basic types used by the IXP400 software |
---|
7 | * |
---|
8 | * Design Notes: |
---|
9 | * This file shall only include fundamental types and definitions to be |
---|
10 | * shared by all the IXP400 components. |
---|
11 | * Please DO NOT add component-specific types here. |
---|
12 | * |
---|
13 | * |
---|
14 | * @par |
---|
15 | * IXP400 SW Release version 2.3 |
---|
16 | * |
---|
17 | * -- Copyright Notice -- |
---|
18 | * |
---|
19 | * @par |
---|
20 | * Copyright (c) 2001-2005, Intel Corporation. |
---|
21 | * All rights reserved. |
---|
22 | * |
---|
23 | * @par |
---|
24 | * Redistribution and use in source and binary forms, with or without |
---|
25 | * modification, are permitted provided that the following conditions |
---|
26 | * are met: |
---|
27 | * 1. Redistributions of source code must retain the above copyright |
---|
28 | * notice, this list of conditions and the following disclaimer. |
---|
29 | * 2. Redistributions in binary form must reproduce the above copyright |
---|
30 | * notice, this list of conditions and the following disclaimer in the |
---|
31 | * documentation and/or other materials provided with the distribution. |
---|
32 | * 3. Neither the name of the Intel Corporation nor the names of its contributors |
---|
33 | * may be used to endorse or promote products derived from this software |
---|
34 | * without specific prior written permission. |
---|
35 | * |
---|
36 | * |
---|
37 | * @par |
---|
38 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' |
---|
39 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
40 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
41 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE |
---|
42 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
---|
43 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
---|
44 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
---|
45 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
---|
46 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
---|
47 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
---|
48 | * SUCH DAMAGE. |
---|
49 | * |
---|
50 | * |
---|
51 | * @par |
---|
52 | * -- End of Copyright Notice -- |
---|
53 | */ |
---|
54 | |
---|
55 | /** |
---|
56 | * @defgroup IxTypes Intel (R) IXP400 Software Types (IxTypes) |
---|
57 | * |
---|
58 | * @brief Basic data types used by the IXP400 project |
---|
59 | * |
---|
60 | * @{ |
---|
61 | */ |
---|
62 | |
---|
63 | #ifndef IxTypes_H |
---|
64 | |
---|
65 | #ifndef __doxygen_HIDE |
---|
66 | |
---|
67 | #define IxTypes_H |
---|
68 | |
---|
69 | #endif /* __doxygen_HIDE */ |
---|
70 | |
---|
71 | |
---|
72 | /* WR51880: Undefined data types workaround for backward compatibility */ |
---|
73 | #ifdef __linux |
---|
74 | #ifndef __INCvxTypesOldh |
---|
75 | typedef int (*FUNCPTR)(void); |
---|
76 | typedef int STATUS; |
---|
77 | #define OK (0) |
---|
78 | #define ERROR (-1) |
---|
79 | #endif |
---|
80 | #endif |
---|
81 | |
---|
82 | #include "IxOsalBackward.h" |
---|
83 | |
---|
84 | #endif /* IxTypes_H */ |
---|
85 | |
---|
86 | /** |
---|
87 | * @} addtogroup IxTypes |
---|
88 | */ |
---|