Files
wii-ipl/libs/RVL_SDK/include/revolution/cx/CXSecureUncompression.h
2026-03-15 13:32:23 +00:00

27 lines
725 B
C

#ifndef REVOLUTION_CX_SECURE_UNCOMPRESS_H
#define REVOLUTION_CX_SECURE_UNCOMPRESS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <revolution/types.h>
typedef s32 CXSecureResult;
#define CX_SECURE_ERR_OK 0
#define CX_SECURE_ERR_BAD_FILE_TYPE -1
#define CX_SECURE_ERR_BUFFER_TOO_SMALL -2
#define CX_SECURE_ERR_BUFFER_TOO_LARGE -3
#define CX_SECURE_ERR_BAD_FILE_SIZE -4
#define CX_SECURE_ERR_BAD_FILE_TABLE -5
CXSecureResult CXSecureUncompressRL(const void* src, u32 length, void* dst);
CXSecureResult CXSecureUncompressLZ(const void* src, u32 length, void* dst);
CXSecureResult CXSecureUncompressHuffman(const void* src, u32 length, void* dst);
#ifdef __cplusplus
}
#endif
#endif // REVOLUTION_CX_SECURE_UNCOMPRESS_H