OpenClovis Logo

clAlarmApi.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 : alarm
21  * File : clAlarmApi.h
22  *******************************************************************************/
23 
24 /*******************************************************************************
25  * Description :
26  *
27  * This module contains Alarm Service related APIs
28  *
29  *****************************************************************************/
30 
31 
32 #ifndef _CL_ALARM_API_H_
33 #define _CL_ALARM_API_H_
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 
40 #include <clCommon.h>
41 #include <clAlarmDefinitions.h>
42 #include <clAlarmOMIpi.h>
43 
55 /******************************************************************************
56  * Constant and Macro Definitions
57  *****************************************************************************/
58 
59 
60 /*****************************************************************************
61  * Alarm Management functions
62  *****************************************************************************/
63 
91 
92 /********************************************************************/
93 
94 
121 
122 /********************************************************************/
123 
124 
175 ClRcT clAlarmRaise(CL_IN ClAlarmInfoT* pAlarmInfo,CL_OUT ClAlarmHandleT *pAlarmHandle);
176 
177 
203 ClRcT
205 
233 ClRcT
234 clAlarmEventDataGet(CL_IN ClUint8T *pData, CL_IN ClSizeT size, CL_OUT ClAlarmHandleInfoT *pAlarmHandleInfo);
235 
262 
297 ClRcT
298 clAlarmEventSubscribe( CL_IN const ClAlarmEventCallbackFuncPtrT pAlarmEvtCallbackFuncFP);
299 
300 
329 ClRcT
331 
365 ClRcT
366 clAlarmStateQuery (CL_IN const ClAlarmInfoT *pAlarmInfo,
367  CL_OUT ClAlarmStateT * const pAlarmState);
368 
369 
415 ClRcT
417  CL_OUT ClAlarmPendingAlmListPtrT const pPendingAlmList);
418 
419 
447 ClRcT
449 /***************************************************************************/
450 
451 ClRcT clAlarmConfigDataGet(ClCorMOIdPtrT pMoId, ClAlarmInfoT** ppAlarmInfo, ClUint32T* pCount);
452 
453 ClRcT clAlarmReset(ClCorMOIdPtrT pMoId, VDECL_VER(ClAlarmIdT, 4, 1, 0)* pAlarmId, ClUint32T count);
454 
455 #ifdef __cplusplus
456 }
457 #endif
458 
459 #endif /* _CL_ALARM_API_H_ */
460 

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