| 1 |
|
| 2 | |
| 3 | * Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 4 | * All rights reserved.
|
| 5 | *
|
| 6 | * This source code is licensed under both the BSD-style license (found in the
|
| 7 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
| 8 | * in the COPYING file in the root directory of this source tree).
|
| 9 | * You may select, at your option, one of the above-listed licenses.
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 | #ifndef ZSTD_DDICT_H
|
| 14 | #define ZSTD_DDICT_H
|
| 15 |
|
| 16 | |
| 17 | * Dependencies
|
| 18 | ********************************************************
|
| 19 | #include "../common/zstd_deps.h"
|
| 20 | #include <linux/zstd.h>
|
| 21 |
|
| 22 |
|
| 23 | |
| 24 | * Interface
|
| 25 | ********************************************************
|
| 26 |
|
| 27 | |
| 28 | * ZSTD_createDDict()
|
| 29 | * ZSTD_createDDict_byReference()
|
| 30 | * ZSTD_createDDict_advanced()
|
| 31 | * ZSTD_freeDDict()
|
| 32 | * ZSTD_initStaticDDict()
|
| 33 | * ZSTD_sizeof_DDict()
|
| 34 | * ZSTD_estimateDDictSize()
|
| 35 | * ZSTD_getDictID_fromDict()
|
| 36 |
|
| 37 |
|
| 38 | const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict);
|
| 39 | size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict);
|
| 40 |
|
| 41 | void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 | #endif
|