11#ifndef ZSTD_ERRORS_H_398273423
12#define ZSTD_ERRORS_H_398273423
14#if defined (__cplusplus)
23#ifndef ZSTDERRORLIB_VISIBLE
25# ifdef ZSTDERRORLIB_VISIBILITY
26# define ZSTDERRORLIB_VISIBLE ZSTDERRORLIB_VISIBILITY
27# elif defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
28# define ZSTDERRORLIB_VISIBLE __attribute__ ((visibility ("default")))
30# define ZSTDERRORLIB_VISIBLE
34#ifndef ZSTDERRORLIB_HIDDEN
35# if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
36# define ZSTDERRORLIB_HIDDEN __attribute__ ((visibility ("hidden")))
38# define ZSTDERRORLIB_HIDDEN
42#if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1)
43# define ZSTDERRORLIB_API __declspec(dllexport) ZSTDERRORLIB_VISIBLE
44#elif defined(ZSTD_DLL_IMPORT) && (ZSTD_DLL_IMPORT==1)
45# define ZSTDERRORLIB_API __declspec(dllimport) ZSTDERRORLIB_VISIBLE
47# define ZSTDERRORLIB_API ZSTDERRORLIB_VISIBLE
110#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_noForwardProgress_inputEmpty
@ ZSTD_error_tableLog_tooLarge
@ ZSTD_error_dstBuffer_wrong
@ ZSTD_error_frameIndex_tooLarge
@ ZSTD_error_literals_headerWrong
@ ZSTD_error_prefix_unknown
@ ZSTD_error_init_missing
@ ZSTD_error_frameParameter_windowTooLarge
@ ZSTD_error_stabilityCondition_notRespected
@ ZSTD_error_corruption_detected
@ ZSTD_error_externalSequences_invalid
@ ZSTD_error_maxSymbolValue_tooSmall
@ ZSTD_error_dstBuffer_null
@ ZSTD_error_dictionaryCreation_failed
@ ZSTD_error_maxSymbolValue_tooLarge
@ ZSTD_error_checksum_wrong
@ ZSTD_error_parameter_combination_unsupported
@ ZSTD_error_srcBuffer_wrong
@ ZSTD_error_dictionary_wrong
@ ZSTD_error_noForwardProgress_destFull
@ ZSTD_error_dstSize_tooSmall
@ ZSTD_error_sequenceProducer_failed
@ 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)