rev |
line source |
nuclear@14
|
1 /* NameMangle.h -- Name mangling to avoid linking conflicts
|
nuclear@14
|
2 2009-04-15 : Marcus Geelnard : Public domain */
|
nuclear@14
|
3
|
nuclear@14
|
4 #ifndef __7Z_NAMEMANGLE_H
|
nuclear@14
|
5 #define __7Z_NAMEMANGLE_H
|
nuclear@14
|
6
|
nuclear@14
|
7 #ifdef LZMA_PREFIX_CTM
|
nuclear@14
|
8
|
nuclear@14
|
9 /* Alloc.c */
|
nuclear@14
|
10 #define MyAlloc _ctm_MyAlloc
|
nuclear@14
|
11 #define MyFree _ctm_MyFree
|
nuclear@14
|
12 #ifdef _WIN32
|
nuclear@14
|
13 #define MidAlloc _ctm_MidAlloc
|
nuclear@14
|
14 #define MidFree _ctm_MidFree
|
nuclear@14
|
15 #define SetLargePageSize _ctm_SetLargePageSize
|
nuclear@14
|
16 #define BigAlloc _ctm_BigAlloc
|
nuclear@14
|
17 #define BigFree _ctm_BigFree
|
nuclear@14
|
18 #endif /* _WIN32 */
|
nuclear@14
|
19
|
nuclear@14
|
20 /* LzFind.c */
|
nuclear@14
|
21 #define MatchFinder_GetPointerToCurrentPos _ctm_MatchFinder_GetPointerToCurrentPos
|
nuclear@14
|
22 #define MatchFinder_GetIndexByte _ctm_MatchFinder_GetIndexByte
|
nuclear@14
|
23 #define MatchFinder_GetNumAvailableBytes _ctm_MatchFinder_GetNumAvailableBytes
|
nuclear@14
|
24 #define MatchFinder_ReduceOffsets _ctm_MatchFinder_ReduceOffsets
|
nuclear@14
|
25 #define MatchFinder_MoveBlock _ctm_MatchFinder_MoveBlock
|
nuclear@14
|
26 #define MatchFinder_NeedMove _ctm_MatchFinder_NeedMove
|
nuclear@14
|
27 #define MatchFinder_ReadIfRequired _ctm_MatchFinder_ReadIfRequired
|
nuclear@14
|
28 #define MatchFinder_Construct _ctm_MatchFinder_Construct
|
nuclear@14
|
29 #define MatchFinder_Free _ctm_MatchFinder_Free
|
nuclear@14
|
30 #define MatchFinder_Create _ctm_MatchFinder_Create
|
nuclear@14
|
31 #define MatchFinder_Init _ctm_MatchFinder_Init
|
nuclear@14
|
32 #define MatchFinder_Normalize3 _ctm_MatchFinder_Normalize3
|
nuclear@14
|
33 #define GetMatchesSpec1 _ctm_GetMatchesSpec1
|
nuclear@14
|
34 #define Bt3Zip_MatchFinder_GetMatches _ctm_Bt3Zip_MatchFinder_GetMatches
|
nuclear@14
|
35 #define Hc3Zip_MatchFinder_GetMatches _ctm_Hc3Zip_MatchFinder_GetMatches
|
nuclear@14
|
36 #define Bt3Zip_MatchFinder_Skip _ctm_Bt3Zip_MatchFinder_Skip
|
nuclear@14
|
37 #define Hc3Zip_MatchFinder_Skip _ctm_Hc3Zip_MatchFinder_Skip
|
nuclear@14
|
38 #define MatchFinder_CreateVTable _ctm_MatchFinder_CreateVTable
|
nuclear@14
|
39
|
nuclear@14
|
40 /* LzmaDec.c */
|
nuclear@14
|
41 #define LzmaDec_InitDicAndState _ctm_LzmaDec_InitDicAndState
|
nuclear@14
|
42 #define LzmaDec_Init _ctm_LzmaDec_Init
|
nuclear@14
|
43 #define LzmaDec_DecodeToDic _ctm_LzmaDec_DecodeToDic
|
nuclear@14
|
44 #define LzmaDec_DecodeToBuf _ctm_LzmaDec_DecodeToBuf
|
nuclear@14
|
45 #define LzmaDec_FreeProbs _ctm_LzmaDec_FreeProbs
|
nuclear@14
|
46 #define LzmaDec_Free _ctm_LzmaDec_Free
|
nuclear@14
|
47 #define LzmaProps_Decode _ctm_LzmaProps_Decode
|
nuclear@14
|
48 #define LzmaDec_AllocateProbs _ctm_LzmaDec_AllocateProbs
|
nuclear@14
|
49 #define LzmaDec_Allocate _ctm_LzmaDec_Allocate
|
nuclear@14
|
50 #define LzmaDecode _ctm_LzmaDecode
|
nuclear@14
|
51
|
nuclear@14
|
52 /* LzmaEnc.c */
|
nuclear@14
|
53 #define LzmaEncProps_Init _ctm_LzmaEncProps_Init
|
nuclear@14
|
54 #define LzmaEncProps_Normalize _ctm_LzmaEncProps_Normalize
|
nuclear@14
|
55 #define LzmaEncProps_GetDictSize _ctm_LzmaEncProps_GetDictSize
|
nuclear@14
|
56 #define LzmaEnc_FastPosInit _ctm_LzmaEnc_FastPosInit
|
nuclear@14
|
57 #define LzmaEnc_SaveState _ctm_LzmaEnc_SaveState
|
nuclear@14
|
58 #define LzmaEnc_RestoreState _ctm_LzmaEnc_RestoreState
|
nuclear@14
|
59 #define LzmaEnc_SetProps _ctm_LzmaEnc_SetProps
|
nuclear@14
|
60 #define LzmaEnc_InitPriceTables _ctm_LzmaEnc_InitPriceTables
|
nuclear@14
|
61 #define LzmaEnc_Construct _ctm_LzmaEnc_Construct
|
nuclear@14
|
62 #define LzmaEnc_Create _ctm_LzmaEnc_Create
|
nuclear@14
|
63 #define LzmaEnc_FreeLits _ctm_LzmaEnc_FreeLits
|
nuclear@14
|
64 #define LzmaEnc_Destruct _ctm_LzmaEnc_Destruct
|
nuclear@14
|
65 #define LzmaEnc_Destroy _ctm_LzmaEnc_Destroy
|
nuclear@14
|
66 #define LzmaEnc_Init _ctm_LzmaEnc_Init
|
nuclear@14
|
67 #define LzmaEnc_InitPrices _ctm_LzmaEnc_InitPrices
|
nuclear@14
|
68 #define LzmaEnc_PrepareForLzma2 _ctm_LzmaEnc_PrepareForLzma2
|
nuclear@14
|
69 #define LzmaEnc_MemPrepare _ctm_LzmaEnc_MemPrepare
|
nuclear@14
|
70 #define LzmaEnc_Finish _ctm_LzmaEnc_Finish
|
nuclear@14
|
71 #define LzmaEnc_GetNumAvailableBytes _ctm_LzmaEnc_GetNumAvailableBytes
|
nuclear@14
|
72 #define LzmaEnc_GetCurBuf _ctm_LzmaEnc_GetCurBuf
|
nuclear@14
|
73 #define LzmaEnc_CodeOneMemBlock _ctm_LzmaEnc_CodeOneMemBlock
|
nuclear@14
|
74 #define LzmaEnc_Encode _ctm_LzmaEnc_Encode
|
nuclear@14
|
75 #define LzmaEnc_WriteProperties _ctm_LzmaEnc_WriteProperties
|
nuclear@14
|
76 #define LzmaEnc_MemEncode _ctm_LzmaEnc_MemEncode
|
nuclear@14
|
77
|
nuclear@14
|
78 /* LzmaLib.c */
|
nuclear@14
|
79 #define LzmaCompress _ctm_LzmaCompress
|
nuclear@14
|
80 #define LzmaUncompress _ctm_LzmaUncompress
|
nuclear@14
|
81
|
nuclear@14
|
82 #endif /* LZMA_PREFIX_CTM */
|
nuclear@14
|
83
|
nuclear@14
|
84 #endif /* __7Z_NAMEMANGLE_H */
|