xref: /aosp_15_r20/external/zstd/contrib/externalSequenceProducer/sequence_producer.h (revision 01826a4963a0d8a59bc3812d29bdf0fb76416722)
1 /*
2  * Copyright (c) Yann Collet, Meta Platforms, Inc.
3  * All rights reserved.
4  *
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.
9  */
10 
11 #ifndef MATCHFINDER_H
12 #define MATCHFINDER_H
13 
14 #define ZSTD_STATIC_LINKING_ONLY
15 #include "zstd.h"
16 
17 size_t simpleSequenceProducer(
18   void* sequenceProducerState,
19   ZSTD_Sequence* outSeqs, size_t outSeqsCapacity,
20   const void* src, size_t srcSize,
21   const void* dict, size_t dictSize,
22   int compressionLevel,
23   size_t windowSize
24 );
25 
26 #endif
27