#ifndef __LSYMEM_H__
#define __LSYMEM_H__
 
/*#include "CPA_Expt.h"*/
 
#ifdef  __cplusplus
extern "C" {
#endif
 
#pragma warning( disable : 4201 4214 4115 )
 
#include "mmg.h"
 
/******************************************/
#if _MSC_VER >= 1000
#pragma once
#endif /* _MSC_VER >= 1000 */
/******************************************/
 
enum e_ucLipsSynchStaticBlocks
{
	E_ucLipsSynchMemoryBlock,
	E_ucLipsSynchMaxBlocksNb
};
 
#undef EXTERN
#undef extern
#if !defined(LSY_MainFile)
#define EXTERN extern
#else
#define EXTERN
#endif /* LSY_MainFile */
 
#ifndef _FIRE_DEADCODE_U64_ /* Added by RUC */
EXTERN tdstBlockInfo g_a_stLipsSynchBlocksInfo[E_ucLipsSynchMaxBlocksNb];
#endif /* _FIRE_DEADCODE_U64_ */ /* Added by RUC */
 
#ifdef __DYNAMIC_MALLOC_ALLOWED__
#ifdef __DEBUG_MALLOC_MODE__
EXTERN tdstDynInfo g_stLipsSynchDynInfo;
#endif /* __DEBUG_MALLOC_MODE__ */
#endif /* __DYNAMIC_MALLOC_ALLOWED__ */
 
#undef EXTERN
#undef extern
 
extern CPA_EXPORT void *LSY_fn_p_vAlloc(unsigned long Mmg_fn_p_vAlloc);
extern CPA_EXPORT void LSY_fn_vFree(void *p_vPointer);
extern CPA_EXPORT void LSY_fn_vFirstInitLSYMemory(unsigned long _ulLipsSynchMenorySize);
extern CPA_EXPORT void LSY_fn_vDesinitLSYMemory(void);
extern CPA_EXPORT void LSY_PrintUsedStaticMemory(void);
extern CPA_EXPORT void LSY_fn_vFreeLipsSynchroBlock(void);
 
#ifdef  __cplusplus
}/* extern "C" */
#endif
 
#endif /* __LSYMEM_H__*/
