/**************************************************************** **************************************************************** ** ** ** (C)Copyright 2005-2006, American Megatrends Inc. ** ** ** ** All Rights Reserved. ** ** ** ** 6145-F, Northbelt Parkway, Norcross, ** ** ** ** Georgia - 30071, USA. Phone-(770)-246-8600. ** ** ** **************************************************************** ****************************************************************/ /***************************************************************** * * Events.h * Event processing commands handler * * Author: Bakka Ravinder Reddy * *****************************************************************/ #ifndef EVENTS_H #define EVENTS_H #include "Types.h" /* Event Type Code */ #define EVENT_TYPE_TEMP 0x01 /* Sensor Type */ #define SENSOR_TYPE_FAN 0x04 /** * @defgroup eic Event Commands * @ingroup senevt * IPMI Event interface command handlers. These commands are used for * setting/getting event receivers and sending event messages. * @{ **/ extern int SetEventReceiver (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst); extern int GetEventReceiver (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst); extern int PlatformEventMessage (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst); /** @} */ #endif /* EVENTS_H */