summaryrefslogtreecommitdiff
path: root/thirdparty/zstd/compress/zstd_ldm.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-01-08 11:21:43 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-01-08 11:21:43 +0100
commit3645c9c80c7ec085e9097a953146426b886f4dc1 (patch)
tree2a075881a62eaa955e0ea1b7c4169d45a690e352 /thirdparty/zstd/compress/zstd_ldm.h
parent0abbefd94a12d0d0ad2932bc19ec90a75c6457e4 (diff)
zstd: Update to upstream version 1.4.8
Diffstat (limited to 'thirdparty/zstd/compress/zstd_ldm.h')
-rw-r--r--thirdparty/zstd/compress/zstd_ldm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/thirdparty/zstd/compress/zstd_ldm.h b/thirdparty/zstd/compress/zstd_ldm.h
index 229ea05a9e..6561024e4c 100644
--- a/thirdparty/zstd/compress/zstd_ldm.h
+++ b/thirdparty/zstd/compress/zstd_ldm.h
@@ -78,6 +78,12 @@ size_t ZSTD_ldm_blockCompress(rawSeqStore_t* rawSeqStore,
void ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize,
U32 const minMatch);
+/* ZSTD_ldm_skipRawSeqStoreBytes():
+ * Moves forward in rawSeqStore by nbBytes, updating fields 'pos' and 'posInSequence'.
+ * Not to be used in conjunction with ZSTD_ldm_skipSequences().
+ * Must be called for data with is not passed to ZSTD_ldm_blockCompress().
+ */
+void ZSTD_ldm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes);
/** ZSTD_ldm_getTableSize() :
* Estimate the space needed for long distance matching tables or 0 if LDM is