1*0c16b537SWarner Losh /* 2*0c16b537SWarner Losh * Copyright (c) 2016-present, Yann Collet, Facebook, Inc. 3*0c16b537SWarner Losh * All rights reserved. 4*0c16b537SWarner Losh * 5*0c16b537SWarner Losh * This source code is licensed under both the BSD-style license (found in the 6*0c16b537SWarner Losh * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7*0c16b537SWarner Losh * in the COPYING file in the root directory of this source tree). 8*0c16b537SWarner Losh * You may select, at your option, one of the above-listed licenses. 9*0c16b537SWarner Losh */ 10*0c16b537SWarner Losh 11*0c16b537SWarner Losh #ifndef ZSTD_OPT_H 12*0c16b537SWarner Losh #define ZSTD_OPT_H 13*0c16b537SWarner Losh 14*0c16b537SWarner Losh #include "zstd_compress.h" 15*0c16b537SWarner Losh 16*0c16b537SWarner Losh #if defined (__cplusplus) 17*0c16b537SWarner Losh extern "C" { 18*0c16b537SWarner Losh #endif 19*0c16b537SWarner Losh 20*0c16b537SWarner Losh size_t ZSTD_compressBlock_btopt(ZSTD_CCtx* ctx, const void* src, size_t srcSize); 21*0c16b537SWarner Losh size_t ZSTD_compressBlock_btultra(ZSTD_CCtx* ctx, const void* src, size_t srcSize); 22*0c16b537SWarner Losh 23*0c16b537SWarner Losh size_t ZSTD_compressBlock_btopt_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize); 24*0c16b537SWarner Losh size_t ZSTD_compressBlock_btultra_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize); 25*0c16b537SWarner Losh 26*0c16b537SWarner Losh #if defined (__cplusplus) 27*0c16b537SWarner Losh } 28*0c16b537SWarner Losh #endif 29*0c16b537SWarner Losh 30*0c16b537SWarner Losh #endif /* ZSTD_OPT_H */ 31