31 #ifndef _CL_ALARM_UTIL_H
32 #define _CL_ALARM_UTIL_H
305 clAlarmClientDebugRegister (
CL_OUT ClHandleT * pAlarmDebugHandle);
308 clAlarmClientDebugDeregister (
CL_IN ClHandleT alarmDebugHandle);
Typical defines found in any software project.
Common Error Codes shared across multiple Clovis ASP Components.
Header file of all MetaData data structures.
ClRcT clAlarmUtilPayLoadExtract(ClUint8T *pBuf, ClUint32T size, ClAlarmUtilPayLoadListT **ppPayloadList)
The function to extract the payload information sent at the time of alarm raise.
ClRcT clAlarmUtilPayloadFlatten(ClAlarmUtilPayLoadListPtrT pPayLoadList, ClUint32T *pSize, ClUint8T **ppBuf)
Function to convert the payload information into a flat buffer.
void clAlarmUtilPayloadBufFree(ClUint8T *pBuf)
The function to free the buffer obtained after flattening the payload information.
struct ClAlarmUtilPayLoadList ClAlarmUtilPayLoadListT
The stucture is used to specify the alarm payload information.
struct ClAlarmUtilPayLoad ClAlarmUtilPayLoadT
This structure holds the information about the attributes that need to be provided in the alarm paylo...
struct ClAlarmUtilTlvInfo ClAlarmUtilTlvInfoT
This structure holds the information about the attributes that needs to be provided in the alarm payl...
struct ClAlarmUtilTlv ClAlarmUtilTlvT
The structure is used to store the information about the variables to be used in the trap.
void clAlarmUtilPayloadListFree(ClAlarmUtilPayLoadListT *pPayloadList)
Function used to free the payload data-structure allocated during alarm reporting or receive.
ClUint32T ClRcT
Clovis return code type.
Definition: clCommon.h:168
#define CL_OUT
CL_OUT macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:110
#define CL_IN
CL_IN macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:106
enum ClCorType ClCorTypeT
The ClCorType enumeration contains the basic COR data types.
The structure is used to store the information about the variables to be used in the trap.
Definition: clAlarmUtils.h:62
ClUint32T length
Number of bytes the attribute would hold.
Definition: clAlarmUtils.h:74
ClCorTypeT type
Data type of the attribute.
Definition: clAlarmUtils.h:67
ClPtrT value
Value of the attribute.
Definition: clAlarmUtils.h:80
This structure holds the information about the attributes that needs to be provided in the alarm payl...
Definition: clAlarmUtils.h:97
ClAlarmUtilTlvPtrT pTlv
Pointer to the structure containing attribute information.
Definition: clAlarmUtils.h:108
ClUint32T numTlvs
Number of attribute information needed for the trap generation on resource.
Definition: clAlarmUtils.h:102
This structure holds the information about the attributes that need to be provided in the alarm paylo...
Definition: clAlarmUtils.h:124
ClUint32T numTlvs
Number of attribute information needed for the trap generation on resource.
Definition: clAlarmUtils.h:135
ClAlarmUtilTlvPtrT pTlv
Pointer to the structure containing attribute information.
Definition: clAlarmUtils.h:141
ClCorMOIdPtrT pMoId
The pointer to the MOID of the resource.
Definition: clAlarmUtils.h:130
The stucture is used to specify the alarm payload information.
Definition: clAlarmUtils.h:156
ClAlarmUtilPayLoadPtrT pPayload
Stores the information about the attributes corressponding to a particular resource.
Definition: clAlarmUtils.h:170
ClUint32T numPayLoadEnteries
The number of entries which need to be specified in the alarm payload.
Definition: clAlarmUtils.h:161
The structure ClCorMOId contains MoId of the object, which is the address of the COR object.
Definition: clCorMetaData.h:918