1*3117ece4Schristos // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 2*3117ece4Schristos /* 3*3117ece4Schristos * Copyright (c) Meta Platforms, Inc. and affiliates. 4*3117ece4Schristos * All rights reserved. 5*3117ece4Schristos * 6*3117ece4Schristos * This source code is licensed under both the BSD-style license (found in the 7*3117ece4Schristos * LICENSE file in the root directory of this source tree) and the GPLv2 (found 8*3117ece4Schristos * in the COPYING file in the root directory of this source tree). 9*3117ece4Schristos * You may select, at your option, one of the above-listed licenses. 10*3117ece4Schristos */ 11*3117ece4Schristos 12*3117ece4Schristos #include <linux/module.h> 13*3117ece4Schristos 14*3117ece4Schristos #include "common/huf.h" 15*3117ece4Schristos #include "common/fse.h" 16*3117ece4Schristos #include "common/zstd_internal.h" 17*3117ece4Schristos 18*3117ece4Schristos // Export symbols shared by compress and decompress into a common module 19*3117ece4Schristos 20*3117ece4Schristos #undef ZSTD_isError /* defined within zstd_internal.h */ 21*3117ece4Schristos EXPORT_SYMBOL_GPL(FSE_readNCount); 22*3117ece4Schristos EXPORT_SYMBOL_GPL(HUF_readStats); 23*3117ece4Schristos EXPORT_SYMBOL_GPL(HUF_readStats_wksp); 24*3117ece4Schristos EXPORT_SYMBOL_GPL(ZSTD_isError); 25*3117ece4Schristos EXPORT_SYMBOL_GPL(ZSTD_getErrorName); 26*3117ece4Schristos EXPORT_SYMBOL_GPL(ZSTD_getErrorCode); 27*3117ece4Schristos 28*3117ece4Schristos MODULE_LICENSE("Dual BSD/GPL"); 29*3117ece4Schristos MODULE_DESCRIPTION("Zstd Common"); 30