xref: /linux-6.15/lib/zstd/zstd_common_module.c (revision 65d1f550)
14782c725SNick Terrell // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
24782c725SNick Terrell /*
3*65d1f550SNick Terrell  * Copyright (c) Meta Platforms, Inc. and affiliates.
44782c725SNick Terrell  * All rights reserved.
54782c725SNick Terrell  *
64782c725SNick Terrell  * This source code is licensed under both the BSD-style license (found in the
74782c725SNick Terrell  * LICENSE file in the root directory of this source tree) and the GPLv2 (found
84782c725SNick Terrell  * in the COPYING file in the root directory of this source tree).
94782c725SNick Terrell  * You may select, at your option, one of the above-listed licenses.
104782c725SNick Terrell  */
114782c725SNick Terrell 
124782c725SNick Terrell #include <linux/module.h>
134782c725SNick Terrell 
144782c725SNick Terrell #include "common/huf.h"
154782c725SNick Terrell #include "common/fse.h"
164782c725SNick Terrell #include "common/zstd_internal.h"
174782c725SNick Terrell 
184782c725SNick Terrell // Export symbols shared by compress and decompress into a common module
194782c725SNick Terrell 
204782c725SNick Terrell #undef ZSTD_isError   /* defined within zstd_internal.h */
214782c725SNick Terrell EXPORT_SYMBOL_GPL(FSE_readNCount);
224782c725SNick Terrell EXPORT_SYMBOL_GPL(HUF_readStats);
234782c725SNick Terrell EXPORT_SYMBOL_GPL(HUF_readStats_wksp);
244782c725SNick Terrell EXPORT_SYMBOL_GPL(ZSTD_isError);
254782c725SNick Terrell EXPORT_SYMBOL_GPL(ZSTD_getErrorName);
264782c725SNick Terrell EXPORT_SYMBOL_GPL(ZSTD_getErrorCode);
274782c725SNick Terrell 
284782c725SNick Terrell MODULE_LICENSE("Dual BSD/GPL");
294782c725SNick Terrell MODULE_DESCRIPTION("Zstd Common");
30