]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/zstd/lib/compress/zstd_fast.h
Merge lld trunk r321017 to contrib/llvm/tools/lld.
[FreeBSD/FreeBSD.git] / sys / contrib / zstd / lib / compress / zstd_fast.h
1 /*
2  * Copyright (c) 2016-present, Yann Collet, Facebook, 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 ZSTD_FAST_H
12 #define ZSTD_FAST_H
13
14 #include "zstd_compress.h"
15
16 #if defined (__cplusplus)
17 extern "C" {
18 #endif
19
20 void ZSTD_fillHashTable(ZSTD_CCtx* zc, const void* end, const U32 mls);
21 size_t ZSTD_compressBlock_fast(ZSTD_CCtx* ctx,
22                          const void* src, size_t srcSize);
23 size_t ZSTD_compressBlock_fast_extDict(ZSTD_CCtx* ctx,
24                          const void* src, size_t srcSize);
25
26 #if defined (__cplusplus)
27 }
28 #endif
29
30 #endif /* ZSTD_FAST_H */