nuclear@14: /* NameMangle.h -- Name mangling to avoid linking conflicts nuclear@14: 2009-04-15 : Marcus Geelnard : Public domain */ nuclear@14: nuclear@14: #ifndef __7Z_NAMEMANGLE_H nuclear@14: #define __7Z_NAMEMANGLE_H nuclear@14: nuclear@14: #ifdef LZMA_PREFIX_CTM nuclear@14: nuclear@14: /* Alloc.c */ nuclear@14: #define MyAlloc _ctm_MyAlloc nuclear@14: #define MyFree _ctm_MyFree nuclear@14: #ifdef _WIN32 nuclear@14: #define MidAlloc _ctm_MidAlloc nuclear@14: #define MidFree _ctm_MidFree nuclear@14: #define SetLargePageSize _ctm_SetLargePageSize nuclear@14: #define BigAlloc _ctm_BigAlloc nuclear@14: #define BigFree _ctm_BigFree nuclear@14: #endif /* _WIN32 */ nuclear@14: nuclear@14: /* LzFind.c */ nuclear@14: #define MatchFinder_GetPointerToCurrentPos _ctm_MatchFinder_GetPointerToCurrentPos nuclear@14: #define MatchFinder_GetIndexByte _ctm_MatchFinder_GetIndexByte nuclear@14: #define MatchFinder_GetNumAvailableBytes _ctm_MatchFinder_GetNumAvailableBytes nuclear@14: #define MatchFinder_ReduceOffsets _ctm_MatchFinder_ReduceOffsets nuclear@14: #define MatchFinder_MoveBlock _ctm_MatchFinder_MoveBlock nuclear@14: #define MatchFinder_NeedMove _ctm_MatchFinder_NeedMove nuclear@14: #define MatchFinder_ReadIfRequired _ctm_MatchFinder_ReadIfRequired nuclear@14: #define MatchFinder_Construct _ctm_MatchFinder_Construct nuclear@14: #define MatchFinder_Free _ctm_MatchFinder_Free nuclear@14: #define MatchFinder_Create _ctm_MatchFinder_Create nuclear@14: #define MatchFinder_Init _ctm_MatchFinder_Init nuclear@14: #define MatchFinder_Normalize3 _ctm_MatchFinder_Normalize3 nuclear@14: #define GetMatchesSpec1 _ctm_GetMatchesSpec1 nuclear@14: #define Bt3Zip_MatchFinder_GetMatches _ctm_Bt3Zip_MatchFinder_GetMatches nuclear@14: #define Hc3Zip_MatchFinder_GetMatches _ctm_Hc3Zip_MatchFinder_GetMatches nuclear@14: #define Bt3Zip_MatchFinder_Skip _ctm_Bt3Zip_MatchFinder_Skip nuclear@14: #define Hc3Zip_MatchFinder_Skip _ctm_Hc3Zip_MatchFinder_Skip nuclear@14: #define MatchFinder_CreateVTable _ctm_MatchFinder_CreateVTable nuclear@14: nuclear@14: /* LzmaDec.c */ nuclear@14: #define LzmaDec_InitDicAndState _ctm_LzmaDec_InitDicAndState nuclear@14: #define LzmaDec_Init _ctm_LzmaDec_Init nuclear@14: #define LzmaDec_DecodeToDic _ctm_LzmaDec_DecodeToDic nuclear@14: #define LzmaDec_DecodeToBuf _ctm_LzmaDec_DecodeToBuf nuclear@14: #define LzmaDec_FreeProbs _ctm_LzmaDec_FreeProbs nuclear@14: #define LzmaDec_Free _ctm_LzmaDec_Free nuclear@14: #define LzmaProps_Decode _ctm_LzmaProps_Decode nuclear@14: #define LzmaDec_AllocateProbs _ctm_LzmaDec_AllocateProbs nuclear@14: #define LzmaDec_Allocate _ctm_LzmaDec_Allocate nuclear@14: #define LzmaDecode _ctm_LzmaDecode nuclear@14: nuclear@14: /* LzmaEnc.c */ nuclear@14: #define LzmaEncProps_Init _ctm_LzmaEncProps_Init nuclear@14: #define LzmaEncProps_Normalize _ctm_LzmaEncProps_Normalize nuclear@14: #define LzmaEncProps_GetDictSize _ctm_LzmaEncProps_GetDictSize nuclear@14: #define LzmaEnc_FastPosInit _ctm_LzmaEnc_FastPosInit nuclear@14: #define LzmaEnc_SaveState _ctm_LzmaEnc_SaveState nuclear@14: #define LzmaEnc_RestoreState _ctm_LzmaEnc_RestoreState nuclear@14: #define LzmaEnc_SetProps _ctm_LzmaEnc_SetProps nuclear@14: #define LzmaEnc_InitPriceTables _ctm_LzmaEnc_InitPriceTables nuclear@14: #define LzmaEnc_Construct _ctm_LzmaEnc_Construct nuclear@14: #define LzmaEnc_Create _ctm_LzmaEnc_Create nuclear@14: #define LzmaEnc_FreeLits _ctm_LzmaEnc_FreeLits nuclear@14: #define LzmaEnc_Destruct _ctm_LzmaEnc_Destruct nuclear@14: #define LzmaEnc_Destroy _ctm_LzmaEnc_Destroy nuclear@14: #define LzmaEnc_Init _ctm_LzmaEnc_Init nuclear@14: #define LzmaEnc_InitPrices _ctm_LzmaEnc_InitPrices nuclear@14: #define LzmaEnc_PrepareForLzma2 _ctm_LzmaEnc_PrepareForLzma2 nuclear@14: #define LzmaEnc_MemPrepare _ctm_LzmaEnc_MemPrepare nuclear@14: #define LzmaEnc_Finish _ctm_LzmaEnc_Finish nuclear@14: #define LzmaEnc_GetNumAvailableBytes _ctm_LzmaEnc_GetNumAvailableBytes nuclear@14: #define LzmaEnc_GetCurBuf _ctm_LzmaEnc_GetCurBuf nuclear@14: #define LzmaEnc_CodeOneMemBlock _ctm_LzmaEnc_CodeOneMemBlock nuclear@14: #define LzmaEnc_Encode _ctm_LzmaEnc_Encode nuclear@14: #define LzmaEnc_WriteProperties _ctm_LzmaEnc_WriteProperties nuclear@14: #define LzmaEnc_MemEncode _ctm_LzmaEnc_MemEncode nuclear@14: nuclear@14: /* LzmaLib.c */ nuclear@14: #define LzmaCompress _ctm_LzmaCompress nuclear@14: #define LzmaUncompress _ctm_LzmaUncompress nuclear@14: nuclear@14: #endif /* LZMA_PREFIX_CTM */ nuclear@14: nuclear@14: #endif /* __7Z_NAMEMANGLE_H */