iPXE
Data Structures | Macros | Functions
gzip.h File Reference

gzip compressed images More...

#include <stdint.h>
#include <ipxe/image.h>

Go to the source code of this file.

Data Structures

struct  gzip_header
 gzip header More...
 
struct  gzip_extra_header
 gzip extra header More...
 
struct  gzip_crc_header
 gzip CRC header More...
 
struct  gzip_footer
 gzip footer More...
 

Macros

#define GZIP_MAGIC   0x1f8b
 Magic ID. More...
 
#define GZIP_METHOD_DEFLATE   0x08
 Compression method. More...
 
#define GZIP_FL_HCRC   0x02
 CRC header is present. More...
 
#define GZIP_FL_EXTRA   0x04
 Extra header is present. More...
 
#define GZIP_FL_NAME   0x08
 File name is present. More...
 
#define GZIP_FL_COMMENT   0x10
 File comment is present. More...
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
struct image_type gzip_image_type __image_type (PROBE_NORMAL)
 

Detailed Description

gzip compressed images

Definition in file gzip.h.

Macro Definition Documentation

◆ GZIP_MAGIC

#define GZIP_MAGIC   0x1f8b

Magic ID.

Definition at line 32 of file gzip.h.

◆ GZIP_METHOD_DEFLATE

#define GZIP_METHOD_DEFLATE   0x08

Compression method.

Definition at line 35 of file gzip.h.

◆ GZIP_FL_HCRC

#define GZIP_FL_HCRC   0x02

CRC header is present.

Definition at line 38 of file gzip.h.

◆ GZIP_FL_EXTRA

#define GZIP_FL_EXTRA   0x04

Extra header is present.

Definition at line 41 of file gzip.h.

◆ GZIP_FL_NAME

#define GZIP_FL_NAME   0x08

File name is present.

Definition at line 44 of file gzip.h.

◆ GZIP_FL_COMMENT

#define GZIP_FL_COMMENT   0x10

File comment is present.

Definition at line 47 of file gzip.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __image_type()

struct image_type gzip_image_type __image_type ( PROBE_NORMAL  )