SDRFunc.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. * SDRfunc.h
  17. *
  18. *
  19. * Author: Rama Bisa <ramab@ami.com>
  20. *
  21. ******************************************************************/
  22. #ifndef SDRFUNC_H
  23. #define SDRFUNC_H
  24. #include "Types.h"
  25. #include "SDRRecord.h"
  26. #include "IPMI_SDR.h"
  27. /**
  28. * @brief Get the first SDR record.
  29. * @return First SDR record if success, 0 if error.
  30. **/
  31. extern _FAR_ SDRRecHdr_T* SDR_GetFirstSDRRec (int BMCInst);
  32. /**
  33. * @brief Get the next SDR record.
  34. * @param pSDRRec - Current SDR Record.
  35. * @return Next SDR record if success, 0 if error.
  36. **/
  37. extern _FAR_ SDRRecHdr_T* SDR_GetNextSDRRec (_FAR_ SDRRecHdr_T* pSDRRec,int BMCInst);
  38. #endif /* SDRFUNC_H */