File Index
Files and directories
Sign in
FILE

zstd_common_module.c

File preview with syntax highlighting.

linux-6.19.14/lib/zstd/zstd_common_module.c C
 1// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
 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#include <linux/module.h>
13
14#include "common/huf.h"
15#include "common/fse.h"
16#include "common/zstd_internal.h"
17
18// Export symbols shared by compress and decompress into a common module
19
20#undef ZSTD_isError   /* defined within zstd_internal.h */
21EXPORT_SYMBOL_GPL(FSE_readNCount);
22EXPORT_SYMBOL_GPL(HUF_readStats);
23EXPORT_SYMBOL_GPL(HUF_readStats_wksp);
24EXPORT_SYMBOL_GPL(ZSTD_isError);
25EXPORT_SYMBOL_GPL(ZSTD_getErrorName);
26EXPORT_SYMBOL_GPL(ZSTD_getErrorCode);
27
28MODULE_LICENSE("Dual BSD/GPL");
29MODULE_DESCRIPTION("Zstd Common");
~/ Read-only file preview.