Prusa MINI Firmware overview
inflate.h File Reference

Go to the source code of this file.

Classes

struct  inflate_state
 

Macros

#define GUNZIP
 

Enumerations

enum  inflate_mode {
  HEAD = 16180, FLAGS, TIME, OS,
  EXLEN, EXTRA, NAME, COMMENT,
  HCRC, DICTID, DICT, TYPE,
  TYPEDO, STORED, COPY_, COPY,
  TABLE, LENLENS, CODELENS, LEN_,
  LEN, LENEXT, DIST, DISTEXT,
  MATCH, LIT, CHECK, LENGTH,
  DONE, BAD, MEM, SYNC
}
 

Macro Definition Documentation

◆ GUNZIP

#define GUNZIP

Enumeration Type Documentation

◆ inflate_mode

Enumerator
HEAD 
FLAGS 
TIME 
OS 
EXLEN 
EXTRA 
NAME 
COMMENT 
HCRC 
DICTID 
DICT 
TYPE 
TYPEDO 
STORED 
COPY_ 
COPY 
TABLE 
LENLENS 
CODELENS 
LEN_ 
LEN 
LENEXT 
DIST 
DISTEXT 
MATCH 
LIT 
CHECK 
LENGTH 
DONE 
BAD 
MEM 
SYNC 
20  {
21  HEAD = 16180, /* i: waiting for magic header */
22  FLAGS, /* i: waiting for method and flags (gzip) */
23  TIME, /* i: waiting for modification time (gzip) */
24  OS, /* i: waiting for extra flags and operating system (gzip) */
25  EXLEN, /* i: waiting for extra length (gzip) */
26  EXTRA, /* i: waiting for extra bytes (gzip) */
27  NAME, /* i: waiting for end of file name (gzip) */
28  COMMENT, /* i: waiting for end of comment (gzip) */
29  HCRC, /* i: waiting for header crc (gzip) */
30  DICTID, /* i: waiting for dictionary check value */
31  DICT, /* waiting for inflateSetDictionary() call */
32  TYPE, /* i: waiting for type bits, including last-flag bit */
33  TYPEDO, /* i: same, but skip check to exit inflate on new block */
34  STORED, /* i: waiting for stored size (length and complement) */
35  COPY_, /* i/o: same as COPY below, but only first time in */
36  COPY, /* i/o: waiting for input or output to copy stored block */
37  TABLE, /* i: waiting for dynamic block table lengths */
38  LENLENS, /* i: waiting for code length code lengths */
39  CODELENS, /* i: waiting for length/lit and distance code lengths */
40  LEN_, /* i: same as LEN below, but only first time in */
41  LEN, /* i: waiting for length/lit/eob code */
42  LENEXT, /* i: waiting for length extra bits */
43  DIST, /* i: waiting for distance code */
44  DISTEXT, /* i: waiting for distance extra bits */
45  MATCH, /* o: waiting for output space to copy string */
46  LIT, /* o: waiting for output space to write literal */
47  CHECK, /* i: waiting for 32-bit check value */
48  LENGTH, /* i: waiting for 32-bit length (gzip) */
49  DONE, /* finished check, done -- remain here until reset */
50  BAD, /* got a data error -- remain here until reset */
51  MEM, /* got an inflate() memory error -- remain here until reset */
52  SYNC /* looking for synchronization bytes to restart inflate() */
53 } inflate_mode;
HEAD
Definition: inflate.h:21
CODELENS
Definition: inflate.h:39
STORED
Definition: inflate.h:34
DONE
Definition: inflate.h:49
LEN_
Definition: inflate.h:40
SYNC
Definition: inflate.h:52
DICTID
Definition: inflate.h:30
COPY_
Definition: inflate.h:35
BAD
Definition: inflate.h:50
MEM
Definition: inflate.h:51
LIT
Definition: inflate.h:46
TYPEDO
Definition: inflate.h:33
CHECK
Definition: inflate.h:47
LENEXT
Definition: inflate.h:42
LENGTH
Definition: inflate.h:48
LENLENS
Definition: inflate.h:38
MATCH
Definition: inflate.h:45
COPY
Definition: inflate.h:36
FLAGS
Definition: inflate.h:22
EXLEN
Definition: inflate.h:25
NAME
Definition: inflate.h:27
LEN
Definition: inflate.h:41
inflate_mode
inflate_mode
Definition: inflate.h:20
TYPE
Definition: inflate.h:32
OS
Definition: inflate.h:24
COMMENT
Definition: inflate.h:28
HCRC
Definition: inflate.h:29
DISTEXT
Definition: inflate.h:44
TABLE
Definition: inflate.h:37
DIST
Definition: inflate.h:43
EXTRA
Definition: inflate.h:26
TIME
Definition: inflate.h:23
DICT
Definition: inflate.h:31