14#ifndef __SAPLZCLZH_H__
15#define __SAPLZCLZH_H__
24#define CS_END_INBUFFER 3
25#define CS_END_OUTBUFFER 2
26#define CS_END_OF_STREAM 1
29#define CS_IEND_OF_STREAM -1
30#define CS_IEND_OUTBUFFER -2
31#define CS_IEND_INBUFFER -3
33#define CS_E_OUT_BUFFER_LEN -10
34#define CS_E_IN_BUFFER_LEN -11
35#define CS_E_NOSAVINGS -12
36#define CS_E_INVALID_SUMLEN -13
37#define CS_E_IN_EQU_OUT -14
38#define CS_E_INVALID_ADDR -15
40#define CS_E_BOTH_ZERO -20
41#define CS_E_UNKNOWN_ALG -21
42#define CS_E_UNKNOWN_TYPE -22
44#define CS_E_FILENOTCOMPRESSED -50
45#define CS_E_MAXBITS_TOO_BIG -51
46#define CS_E_BAD_HUF_TREE -52
47#define CS_E_NO_STACKMEM -53
48#define CS_E_INVALIDCODE -54
49#define CS_E_BADLENGTH -55
51#define CS_E_STACK_OVERFLOW -60
52#define CS_E_STACK_UNDERFLOW -61
54#define CS_NOT_INITIALIZED -71
57#define SAP_LZC_LZH_CS_E_MEMORY_ERROR -99
59WS_DLL_PUBLIC
const char *sap_lzclzh_decompress_error_string(
int return_code);
62WS_DLL_PUBLIC
int sap_lzclzh_decompress(
wmem_allocator_t *wmem_scope,
const guint8 *in, gint in_length, guint8 *out, guint *out_length);
struct _wmem_allocator_t wmem_allocator_t
Definition wmem_core.h:44