11#ifndef ZSTD_ERRORS_H_398273423
12#define ZSTD_ERRORS_H_398273423
14#if defined (__cplusplus)
23#ifndef ZSTDERRORLIB_VISIBILITY
24# if defined(__GNUC__) && (__GNUC__ >= 4)
25# define ZSTDERRORLIB_VISIBILITY __attribute__ ((visibility ("default")))
27# define ZSTDERRORLIB_VISIBILITY
30#if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1)
31# define ZSTDERRORLIB_API __declspec(dllexport) ZSTDERRORLIB_VISIBILITY
32#elif defined(ZSTD_DLL_IMPORT) && (ZSTD_DLL_IMPORT==1)
33# define ZSTDERRORLIB_API __declspec(dllimport) ZSTDERRORLIB_VISIBILITY
35# define ZSTDERRORLIB_API ZSTDERRORLIB_VISIBILITY
90#if defined (__cplusplus)
ZSTDERRORLIB_API ZSTD_ErrorCode ZSTD_getErrorCode(size_t functionResult)
@ ZSTD_error_srcSize_wrong
@ ZSTD_error_version_unsupported
@ ZSTD_error_memory_allocation
@ ZSTD_error_frameParameter_unsupported
@ ZSTD_error_tableLog_tooLarge
@ ZSTD_error_dstBuffer_wrong
@ ZSTD_error_frameIndex_tooLarge
@ ZSTD_error_prefix_unknown
@ ZSTD_error_init_missing
@ ZSTD_error_frameParameter_windowTooLarge
@ ZSTD_error_corruption_detected
@ ZSTD_error_maxSymbolValue_tooSmall
@ ZSTD_error_dstBuffer_null
@ ZSTD_error_dictionaryCreation_failed
@ ZSTD_error_maxSymbolValue_tooLarge
@ ZSTD_error_checksum_wrong
@ ZSTD_error_dictionary_wrong
@ ZSTD_error_dstSize_tooSmall
@ ZSTD_error_dictionary_corrupted
@ ZSTD_error_workSpace_tooSmall
@ ZSTD_error_parameter_outOfBound
@ ZSTD_error_parameter_unsupported
ZSTDERRORLIB_API const char * ZSTD_getErrorString(ZSTD_ErrorCode code)