OpenClovis Logo

clPMApi.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 : PM
21  * File : clPMApi.h
22  *******************************************************************************/
23 
24 /*******************************************************************************
25  * Description :
26  * This header file contains PM API prototypes and structures.
27  *
28  *
29  *****************************************************************************/
30 
31 #ifndef _CL_PM_API_H_
32 #define _CL_PM_API_H_
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 #include <clCommon.h>
39 #include <clOmObjectManage.h>
40 #include <clOmCommonClassTypes.h>
41 #include <clOmBaseClass.h>
42 #include <clCorApi.h>
43 #include <clCorNotifyApi.h>
44 #include <clAlarmDefinitions.h>
45 #include <clAlarmUtils.h>
46 
58 typedef struct
59 {
60  ClAlarmProbableCauseT probableCause;
61  ClAlarmSpecificProblemT specificProblem;
62  ClAlarmUtilPayLoadListPtrT pAlarmPayload;
63 }ClPMAlarmDataT;
64 
65 typedef ClPMAlarmDataT* ClPMAlarmDataPtrT;
66 
71 typedef struct
72 {
77 
83 
90 
95 
102  void* pPMData;
103 
107  ClUint32T size;
108 
113  ClInt32T index;
114 
115  ClUint32T alarmCount;
116 
117  ClPMAlarmDataPtrT pAlarmData;
118 
119 } ClPMAttrDataT;
120 
121 
126 
133 typedef struct
134 {
139 
143  ClUint32T attrCount;
144 
149  ClPMAttrDataPtrT pAttrData;
150 
152 
157 
184  (CL_IN ClHandleT txnHandle, CL_INOUT ClPMObjectDataPtrT pObjectData);
185 
211  (CL_IN ClHandleT txnHandle, CL_INOUT ClPMObjectDataPtrT pObjectData);
212 
213 
217 typedef struct
218 {
219  ClPMObjectReadCallbackT fpPMObjectRead;
220  ClPMObjectResetCallbackT fpPMObjectReset;
222 
223 
250 
251 
276 ClRcT clPMStop(ClCorMOIdListPtrT pMoIdList);
277 
278 ClRcT clPMResourcesGet(ClCorMOIdListT** ppMoIdList);
279 
280 ClRcT clPMClientDebugRegister(ClHandleT* pDebugHandle);
281 ClRcT clPMClientDebugUnregister(ClHandleT debugHandle);
282 
285 #ifdef __cplusplus
286 }
287 #endif
288 
289 #endif /* _CL_PM_API_H_ */

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