wavelength
1.0.0
Loading...
Searching...
No Matches
inflate.h
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef __cplusplus
4
extern
"C"
{
5
#endif
6
8
enum
InflateResult
{
9
kInflateOk
= 0,
10
kInflateError
= 1,
11
kInflateBadCodes
= 2,
12
kInflateOutOfMemory
= 3,
13
};
14
15
struct
huft;
16
27
int
gzip_inflate
(
void
);
28
37
void
HuftReset
(
void
);
38
50
struct
huft *
HuftMalloc
(
unsigned
nEntries);
51
52
#ifdef __cplusplus
53
}
54
#endif
HuftMalloc
struct huft * HuftMalloc(unsigned nEntries)
Carve a decoding table from the pool, in place of the heap.
InflateResult
InflateResult
Results that inflate() and the routines under it report.
Definition
inflate.h:8
kInflateOutOfMemory
@ kInflateOutOfMemory
Definition
inflate.h:12
kInflateBadCodes
@ kInflateBadCodes
Definition
inflate.h:11
kInflateOk
@ kInflateOk
Definition
inflate.h:9
kInflateError
@ kInflateError
Definition
inflate.h:10
gzip_inflate
int gzip_inflate(void)
Decode a whole deflate stream into the window, flushing it to the output.
HuftReset
void HuftReset(void)
Record the pool high-water mark and rewind the pool to its start.
src
os
inflate.h
Generated by
1.15.0