66 "Since 1.1.0. Use SQSH_ERROR_UNKNOWN_FILE_TYPE instead."))) =
#define SQSH_NO_UNUSED
Warn if return value is unused.
void sqsh_perror(int error_code, const char *msg)
Print the error message for the given error code.
SqshError
Error codes for sqsh.
@ SQSH_ERROR_UNKNOWN_FILE_TYPE
@ SQSH_ERROR_MUTEX_LOCK_FAILED
@ SQSH_ERROR_DIRECTORY_RECURSION
@ SQSH_ERROR_SUPERBLOCK_TOO_SMALL
@ SQSH_ERROR_MALLOC_FAILED
@ SQSH_ERROR_INVALID_ARGUMENT
@ SQSH_ERROR_CORRUPTED_DIRECTORY_ENTRY
@ SQSH_ERROR_NO_XATTR_TABLE
@ SQSH_ERROR_XATTR_SIZE_MISMATCH
@ SQSH_ERROR_WALKER_CANNOT_GO_UP
@ SQSH_ERROR_COMPRESSION_DECOMPRESS
@ SQSH_ERROR_NO_SUCH_FILE
@ SQSH_ERROR_INODE_PARENT_UNSET
@ SQSH_ERROR_COMPRESSION_FINISHED
@ SQSH_ERROR_CORRUPTED_DIRECTORY_HEADER
@ SQSH_ERROR_INTEGER_OVERFLOW
@ SQSH_ERROR_INODE_MAP_IS_INCONSISTENT
@ SQSH_ERROR_OUT_OF_BOUNDS
@ SQSH_ERROR_NO_FRAGMENT_TABLE
@ SQSH_ERROR_NOT_A_SYMLINK
@ SQSH_ERROR_NO_EXTENDED_DIRECTORY
@ SQSH_ERROR_COMPRESSION_INIT
@ SQSH_ERROR_SECTION_START
@ SQSH_ERROR_COMPRESSION_UNSUPPORTED
@ SQSH_ERROR_NOT_A_DIRECTORY
@ SQSH_ERROR_NO_EXPORT_TABLE
@ SQSH_ERROR_TOO_MANY_SYMLINKS_FOLLOWED
@ SQSH_ERROR_WALKER_CANNOT_GO_DOWN
@ SQSH_ERROR_UNKOWN_FILE_TYPE
@ SQSH_ERROR_CORRUPTED_INODE
@ SQSH_ERROR_BLOCKSIZE_MISMATCH
@ SQSH_ERROR_UNSUPPORTED_VERSION
@ SQSH_ERROR_MUTEX_DESTROY_FAILED
@ SQSH_ERROR_NO_SUCH_ELEMENT
@ SQSH_ERROR_NO_SUCH_XATTR
@ SQSH_ERROR_CURL_INVALID_RANGE_HEADER
@ SQSH_ERROR_INODE_PARENT_MISMATCH
@ SQSH_ERROR_SIZE_MISMATCH
@ SQSH_ERROR_NO_COMPRESSION_OPTIONS
@ SQSH_ERROR_MUTEX_INIT_FAILED
@ SQSL_ERROR_ELEMENT_NOT_FOUND
SQSH_NO_UNUSED const char * sqsh_error_str(int error_code)
Get the error message for the given error code.