]> git.proxmox.com Git - ceph.git/blame - ceph/src/zstd/lib/compress/zstd_opt.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / zstd / lib / compress / zstd_opt.h
CommitLineData
11fdf7f2
TL
1/*
2 * Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
7c673cae
FG
3 * All rights reserved.
4 *
11fdf7f2
TL
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.
7c673cae
FG
9 */
10
11fdf7f2
TL
11#ifndef ZSTD_OPT_H
12#define ZSTD_OPT_H
7c673cae 13
11fdf7f2 14#include "zstd_compress.h"
7c673cae 15
11fdf7f2
TL
16#if defined (__cplusplus)
17extern "C" {
18#endif
7c673cae 19
11fdf7f2
TL
20size_t ZSTD_compressBlock_btopt(ZSTD_CCtx* ctx, const void* src, size_t srcSize);
21size_t ZSTD_compressBlock_btultra(ZSTD_CCtx* ctx, const void* src, size_t srcSize);
7c673cae 22
11fdf7f2
TL
23size_t ZSTD_compressBlock_btopt_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize);
24size_t ZSTD_compressBlock_btultra_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize);
7c673cae 25
11fdf7f2 26#if defined (__cplusplus)
7c673cae 27}
11fdf7f2 28#endif
7c673cae 29
11fdf7f2 30#endif /* ZSTD_OPT_H */