OpenClovis Logo

clFaultDefinitions.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2012 OpenClovis Solutions Inc. All Rights Reserved.
3  *
4  * This file is available under a commercial license from the
5  * copyright holder or the GNU General Public License Version 2.0.
6  *
7  * The source code for this program is not published or otherwise
8  * divested of its trade secrets, irrespective of what has been
9  * deposited with the U.S. Copyright office.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * For more information, see the file COPYING provided with this
17  * material.
18  */
19 /*******************************************************************************
20  * ModuleName : fault
21  * File : clFaultDefinitions.h
22  *******************************************************************************/
23 
24 /*******************************************************************************
25  * Description :
26  *
27  * This file provides the definitions for the fault record structure.
28  *
29  *****************************************************************************/
30 
42 #ifndef _CL_FAULT_DEFINITIONS_H_
43 #define _CL_FAULT_DEFINITIONS_H_
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49 #include <clCommon.h>
50 #include <clCorMetaData.h>
51 #include <clAlarmDefinitions.h>
52 
53 
59 typedef struct ClFaultEvent {
60 
64  ClUint32T version;
65 
70 
75 
80 
85 
90 
94  ClUint32T timeStamp;
95 
100 
105 
110 
115  ClUint32T addInfoLen;
116 
121  ClInt8T additionalInfo[1];
122 } ClFaultEventT;
123 
129 
137 typedef struct ClFaultRecord {
138 
145  ClUint8T seqNum;
146 
152 
158 
164 typedef ClRcT (*ClFaultSeqTblT) (ClFaultRecordPtr hRec);
165 
166 
167 #ifdef __cplusplus
168 }
169 #endif
170 
171 #endif /* _CL_FAULT_DEFINITIONS_H_ */
172 

Generated on Tue Jan 10 10:29:15 PST 2012 for OpenClovis SDK using Doxygen