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