get lzma_c from kerpack_linux

This commit is contained in:
2025-03-22 18:41:40 +03:00
commit 42e04486e7
18 changed files with 2242 additions and 0 deletions

13
lzma_c/MatchFinder.h Normal file
View File

@@ -0,0 +1,13 @@
#include "common.h"
extern const byte* GetPointerToCurrentPos(void);
extern byte GetIndexByte(int index);
extern unsigned GetMatchLen(int index,unsigned distance,unsigned limit);
extern unsigned GetNumAvailableBytes(void);
extern void ReduceOffsets(int subValue);
extern void MatchFinder_Init(void);
extern void MatchFinder_Create(unsigned historySize,unsigned keepAddBufferBefore,unsigned matchMaxLen,unsigned keepAddBufferAfter,byte**mem);
extern unsigned GetLongestMatch(unsigned*distances);
extern void DummyLongestMatch(void);
extern void MatchFinder_MovePos(void);