aboutsummaryrefslogtreecommitdiff
path: root/lib/compress/zstd_ldm.h
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2023-01-25 01:20:16 +0000
committerAllan Jude <allanjude@FreeBSD.org>2023-01-25 01:20:16 +0000
commitb3392d84da5bf2162baf937c77e0557f3fd8a52b (patch)
treed9bfa8081b46f82d07e21f8ff8e70627a2aec35f /lib/compress/zstd_ldm.h
parentf6ae97673c28bdb9ae795bd235ab6f26f2536a2d (diff)
Diffstat (limited to 'lib/compress/zstd_ldm.h')
-rw-r--r--lib/compress/zstd_ldm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/compress/zstd_ldm.h b/lib/compress/zstd_ldm.h
index 6561024e4c97..4e68dbf52e38 100644
--- a/lib/compress/zstd_ldm.h
+++ b/lib/compress/zstd_ldm.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc.
+ * Copyright (c) Yann Collet, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
@@ -66,6 +66,7 @@ size_t ZSTD_ldm_generateSequences(
*/
size_t ZSTD_ldm_blockCompress(rawSeqStore_t* rawSeqStore,
ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
+ ZSTD_paramSwitch_e useRowMatchFinder,
void const* src, size_t srcSize);
/**
@@ -73,7 +74,7 @@ size_t ZSTD_ldm_blockCompress(rawSeqStore_t* rawSeqStore,
*
* Skip past `srcSize` bytes worth of sequences in `rawSeqStore`.
* Avoids emitting matches less than `minMatch` bytes.
- * Must be called for data with is not passed to ZSTD_ldm_blockCompress().
+ * Must be called for data that is not passed to ZSTD_ldm_blockCompress().
*/
void ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize,
U32 const minMatch);