summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/zstd/contrib/externalSequenceProducer/sequence_producer.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/zstd/contrib/externalSequenceProducer/sequence_producer.h')
-rw-r--r--3rdparty/zstd/contrib/externalSequenceProducer/sequence_producer.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/3rdparty/zstd/contrib/externalSequenceProducer/sequence_producer.h b/3rdparty/zstd/contrib/externalSequenceProducer/sequence_producer.h
new file mode 100644
index 00000000000..19f9982ac36
--- /dev/null
+++ b/3rdparty/zstd/contrib/externalSequenceProducer/sequence_producer.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) Yann Collet, Meta Platforms, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under both the BSD-style license (found in the
+ * LICENSE file in the root directory of this source tree) and the GPLv2 (found
+ * in the COPYING file in the root directory of this source tree).
+ * You may select, at your option, one of the above-listed licenses.
+ */
+
+#ifndef MATCHFINDER_H
+#define MATCHFINDER_H
+
+#define ZSTD_STATIC_LINKING_ONLY
+#include "zstd.h"
+
+size_t simpleSequenceProducer(
+ void* sequenceProducerState,
+ ZSTD_Sequence* outSeqs, size_t outSeqsCapacity,
+ const void* src, size_t srcSize,
+ const void* dict, size_t dictSize,
+ int compressionLevel,
+ size_t windowSize
+);
+
+#endif