/* LzFindMt.h -- multithreaded Match finder for LZ algorithms\r
-2008-10-04 : Igor Pavlov : Public domain */\r
+2015-05-03 : Igor Pavlov : Public domain */\r
\r
-#ifndef __LZFINDMT_H\r
-#define __LZFINDMT_H\r
+#ifndef __LZ_FIND_MT_H\r
+#define __LZ_FIND_MT_H\r
\r
-#include "Threads.h"\r
#include "LzFind.h"\r
+#include "Threads.h"\r
+\r
+EXTERN_C_BEGIN\r
\r
#define kMtHashBlockSize (1 << 13)\r
#define kMtHashNumBlocks (1 << 3)\r
UInt32 matchMaxLen;\r
UInt32 numHashBytes;\r
UInt32 pos;\r
- Byte *buffer;\r
+ const Byte *buffer;\r
UInt32 cyclicBufferPos;\r
UInt32 cyclicBufferSize; /* it must be historySize + 1 */\r
UInt32 cutValue;\r
void MatchFinderMt_CreateVTable(CMatchFinderMt *p, IMatchFinder *vTable);\r
void MatchFinderMt_ReleaseStream(CMatchFinderMt *p);\r
\r
+EXTERN_C_END\r
+\r
#endif\r