diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-20 17:52:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 17:52:57 -0700 |
commit | 86826629f736d31b7d6cdb92019078246b0f5f81 (patch) | |
tree | 5c7ee06150871158b76867e74937ddb7fe7b2bab /vendor/github.com/DataDog/zstd/zstd_ddict.h | |
parent | 39d6a8619585114fa297ce2fd682befb5f81aaf7 (diff) | |
parent | 7e4d75eb8b74c62e44c7b1be93dd338695814c92 (diff) | |
download | podman-86826629f736d31b7d6cdb92019078246b0f5f81.tar.gz podman-86826629f736d31b7d6cdb92019078246b0f5f81.tar.bz2 podman-86826629f736d31b7d6cdb92019078246b0f5f81.zip |
Merge pull request #3388 from baude/openstackcs
vendor containers/storage v1.12.11
Diffstat (limited to 'vendor/github.com/DataDog/zstd/zstd_ddict.h')
-rw-r--r-- | vendor/github.com/DataDog/zstd/zstd_ddict.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/vendor/github.com/DataDog/zstd/zstd_ddict.h b/vendor/github.com/DataDog/zstd/zstd_ddict.h new file mode 100644 index 000000000..0479d11bb --- /dev/null +++ b/vendor/github.com/DataDog/zstd/zstd_ddict.h @@ -0,0 +1,44 @@ +/* + * 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. + */ + + +#ifndef ZSTD_DDICT_H +#define ZSTD_DDICT_H + +/*-******************************************************* + * Dependencies + *********************************************************/ +#include <stddef.h> /* size_t */ +#include "zstd.h" /* ZSTD_DDict, and several public functions */ + + +/*-******************************************************* + * Interface + *********************************************************/ + +/* note: several prototypes are already published in `zstd.h` : + * ZSTD_createDDict() + * ZSTD_createDDict_byReference() + * ZSTD_createDDict_advanced() + * ZSTD_freeDDict() + * ZSTD_initStaticDDict() + * ZSTD_sizeof_DDict() + * ZSTD_estimateDDictSize() + * ZSTD_getDictID_fromDict() + */ + +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); + + + +#endif /* ZSTD_DDICT_H */ |