![]() |
|
|||
0001 /* 0002 * Copyright (c) Yann Collet, Facebook, Inc. 0003 * All rights reserved. 0004 * 0005 * This source code is licensed under both the BSD-style license (found in the 0006 * LICENSE file in the root directory of this source tree) and the GPLv2 (found 0007 * in the COPYING file in the root directory of this source tree). 0008 * You may select, at your option, one of the above-listed licenses. 0009 */ 0010 0011 0012 #ifndef ZSTD_DDICT_H 0013 #define ZSTD_DDICT_H 0014 0015 /*-******************************************************* 0016 * Dependencies 0017 *********************************************************/ 0018 #include "../common/zstd_deps.h" /* size_t */ 0019 #include <linux/zstd.h> /* ZSTD_DDict, and several public functions */ 0020 0021 0022 /*-******************************************************* 0023 * Interface 0024 *********************************************************/ 0025 0026 /* note: several prototypes are already published in `zstd.h` : 0027 * ZSTD_createDDict() 0028 * ZSTD_createDDict_byReference() 0029 * ZSTD_createDDict_advanced() 0030 * ZSTD_freeDDict() 0031 * ZSTD_initStaticDDict() 0032 * ZSTD_sizeof_DDict() 0033 * ZSTD_estimateDDictSize() 0034 * ZSTD_getDictID_fromDict() 0035 */ 0036 0037 const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict); 0038 size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict); 0039 0040 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict); 0041 0042 0043 0044 #endif /* ZSTD_DDICT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |