2018-10-24 00:25:49 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016-present, Yann Collet, Facebook, 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.
|
|
|
|
*/
|
|
|
|
|
2018-10-24 00:55:23 +00:00
|
|
|
|
|
|
|
#ifndef ZSTD_DDICT_H
|
|
|
|
#define ZSTD_DDICT_H
|
|
|
|
|
|
|
|
/*-*******************************************************
|
2018-10-24 00:25:49 +00:00
|
|
|
* Dependencies
|
|
|
|
*********************************************************/
|
|
|
|
#include <stddef.h> /* size_t */
|
|
|
|
#include "zstd.h" /* ZSTD_DDict */
|
|
|
|
|
|
|
|
|
|
|
|
/*-*******************************************************
|
2018-10-24 00:55:23 +00:00
|
|
|
* Interface
|
|
|
|
*********************************************************/
|
2018-10-24 00:25:49 +00:00
|
|
|
|
|
|
|
const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict);
|
|
|
|
size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict);
|
|
|
|
|
|
|
|
void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
|
2018-10-24 00:55:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* ZSTD_DDICT_H */
|