#include "bmc_type.h"
#include "bmc_conf.h"
#include "Types.h"
#include "bmc_main.h"

#define OS_THREAD_TLS_GET(key,val);
ChannelInfo_T*  getChannelInfo (INT8U ch,int BMCInst);
UserInfo_T*             getUserIdInfo (INT8U userId, int BMCInst);
INT8U IsLANChannel(INT8U Channel, int BMCInst);

INT8U Set_BMCInfo_IPMIConfig_LANIfcSupport(INT8U Value,int BMCInst);

INT8U Set_BMCInfo_IPMIConfig_SerialIfcSupport(INT8U Value,int BMCInst);

INT8U CalculateCheckSum2 (_FAR_ INT8U* Pkt, INT32U Len);

INT8U CalculateCheckSum (INT8U* Data, INT16U Len);


_FAR_ ChannelUserInfo_T* getChUserInfo (_NEAR_ char *userName,  _NEAR_ INT8U* chIndex, _FAR_ ChannelUserInfo_T *pChUserInfo,int BMCInst);

INT8U* GetNVRUsrCfgAddr(INT32U NVRHandle, int BMCInst);

_FAR_ SessionInfo_T* getSessionInfo (INT8U Arg, _FAR_ void *Session,int BMCInst);

