2 * Copyright (c) Yann Collet, Meta Platforms, Inc.
5 * This source code is licensed under both the BSD-style license (found in the
6 * LICENSE file in the root directory of this source tree) and the GPLv2 (found
7 * in the COPYING file in the root directory of this source tree).
8 * You may select, at your option, one of the above-listed licenses.
11 #ifndef EXTERNAL_MATCHFINDER
12 #define EXTERNAL_MATCHFINDER
14 #define ZSTD_STATIC_LINKING_ONLY
17 /* See external_matchfinder.c for details on each test case */
24 EMF_INVALID_OFFSET = 5,
25 EMF_INVALID_MATCHLEN = 6,
26 EMF_INVALID_LITLEN = 7,
27 EMF_INVALID_LAST_LITS = 8
30 size_t zstreamSequenceProducer(
31 void* sequenceProducerState,
32 ZSTD_Sequence* outSeqs, size_t outSeqsCapacity,
33 const void* src, size_t srcSize,
34 const void* dict, size_t dictSize,
39 #endif /* EXTERNAL_MATCHFINDER */