12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /**
- * @file libipmi_IPM.h
- * @author Rajasekhar (rajasekharj@amiindia.co.in)
- * @date 02-Sep-2004
- *
- * @brief Contains exported IPM API by LIBIPMI for
- * communicating with the BMC.Corresponds
- directly to IPM device commands
- *
- */
- #ifndef __LIBIPMI_IPM_H__
- #define __LIBIPMI_IPM_H__
- /* LIIPMI core header files */
- #include "libipmi_session.h"
- #include "libipmi_errorcodes.h"
- /* command specific header files */
- #include "com_IPMI_IPM.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*---------- IPMI Command direct routines ----------*/
- /* Device ID */
- extern uint16_t IPMICMD_GetDeviceID( IPMI20_SESSION_T *pSession/*in*/,
- GetDevIDRes_T *pGetDeviceID/*out*/,
- int timeout/*in*/);
- /* Device GUID */
- extern uint16_t IPMICMD_GetDeviceGUID( IPMI20_SESSION_T *pSession/*in*/,
- GetDevGUIDRes_T *pGetDeviceGUID/*out*/,
- int timeout/*in*/ );
- /*---------- LIBIPMI Higher level routines -----------*/
- /* Device ID */
- extern uint16_t LIBIPMI_HL_GetDeviceID( IPMI20_SESSION_T *pSession/*in*/,
- char *pszDeviceID/*out*/, int timeout/*in*/ );
- /* Device GUID */
- extern uint16_t LIBIPMI_HL_GetDeviceGUID( IPMI20_SESSION_T *pSession /*in*/,
- char *pszDeviceGUID /*out*/, int timeout /*in*/);
- #ifdef __cplusplus
- }
- #endif
- #endif
|