Events.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /****************************************************************
  2. ****************************************************************
  3. ** **
  4. ** (C)Copyright 2005-2006, American Megatrends Inc. **
  5. ** **
  6. ** All Rights Reserved. **
  7. ** **
  8. ** 6145-F, Northbelt Parkway, Norcross, **
  9. ** **
  10. ** Georgia - 30071, USA. Phone-(770)-246-8600. **
  11. ** **
  12. ****************************************************************
  13. ****************************************************************/
  14. /*****************************************************************
  15. *
  16. * Events.h
  17. * Event processing commands handler
  18. *
  19. * Author: Bakka Ravinder Reddy <bakkar@ami.com>
  20. *
  21. *****************************************************************/
  22. #ifndef EVENTS_H
  23. #define EVENTS_H
  24. #include "Types.h"
  25. /* Event Type Code */
  26. #define EVENT_TYPE_TEMP 0x01
  27. /* Sensor Type */
  28. #define SENSOR_TYPE_FAN 0x04
  29. /**
  30. * @defgroup eic Event Commands
  31. * @ingroup senevt
  32. * IPMI Event interface command handlers. These commands are used for
  33. * setting/getting event receivers and sending event messages.
  34. * @{
  35. **/
  36. extern int SetEventReceiver (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  37. extern int GetEventReceiver (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  38. extern int PlatformEventMessage (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  39. /** @} */
  40. #endif /* EVENTS_H */