10c16b537SWarner Losh /* 20c16b537SWarner Losh * Copyright (c) 2016-present, Yann Collet, Facebook, Inc. 30c16b537SWarner Losh * All rights reserved. 40c16b537SWarner Losh * 50c16b537SWarner Losh * This source code is licensed under both the BSD-style license (found in the 60c16b537SWarner Losh * LICENSE file in the root directory of this source tree) and the GPLv2 (found 70c16b537SWarner Losh * in the COPYING file in the root directory of this source tree). 80c16b537SWarner Losh * You may select, at your option, one of the above-listed licenses. 90c16b537SWarner Losh */ 100c16b537SWarner Losh 110c16b537SWarner Losh #ifndef ZSTD_FAST_H 120c16b537SWarner Losh #define ZSTD_FAST_H 130c16b537SWarner Losh 140c16b537SWarner Losh #if defined (__cplusplus) 150c16b537SWarner Losh extern "C" { 160c16b537SWarner Losh #endif 170c16b537SWarner Losh 18*052d3c12SConrad Meyer #include "mem.h" /* U32 */ 19*052d3c12SConrad Meyer #include "zstd.h" /* ZSTD_CCtx, size_t */ 20*052d3c12SConrad Meyer 210c16b537SWarner Losh void ZSTD_fillHashTable(ZSTD_CCtx* zc, const void* end, const U32 mls); 220c16b537SWarner Losh size_t ZSTD_compressBlock_fast(ZSTD_CCtx* ctx, 230c16b537SWarner Losh const void* src, size_t srcSize); 240c16b537SWarner Losh size_t ZSTD_compressBlock_fast_extDict(ZSTD_CCtx* ctx, 250c16b537SWarner Losh const void* src, size_t srcSize); 260c16b537SWarner Losh 270c16b537SWarner Losh #if defined (__cplusplus) 280c16b537SWarner Losh } 290c16b537SWarner Losh #endif 300c16b537SWarner Losh 310c16b537SWarner Losh #endif /* ZSTD_FAST_H */ 32