navit  0.5.3-trunk
zip_lfh Struct Reference

ZIP local file header structure. More...

#include <zipfile.h>

Data Fields

int ziplocsig
 local file header signature More...
 
short zipver
 minimum zip spec version needed to extract More...
 
short zipgenfld
 general purpose flags More...
 
short zipmthd
 compression method More...
 
short ziptime
 file modification time More...
 
short zipdate
 file modification date More...
 
int zipcrc
 CRC-32 checksum. More...
 
unsigned int zipsize
 file size (after compression) More...
 
unsigned int zipuncmp
 file size (uncompressed) More...
 
unsigned short zipfnln
 file name length More...
 
unsigned short zipxtraln
 extra filed length (unused?) More...
 
char zipname [0]
 file name (length as given above) More...
 

Detailed Description

ZIP local file header structure.

See the documentation of the ZIP format for the meaning of these fields.

Field Documentation

◆ zipcrc

int zip_lfh::zipcrc

CRC-32 checksum.

Referenced by download_finish(), lfh_to_cpu(), and write_zipmember().

◆ zipdate

short zip_lfh::zipdate

file modification date

Referenced by lfh_to_cpu().

◆ zipfnln

unsigned short zip_lfh::zipfnln

◆ zipgenfld

short zip_lfh::zipgenfld

general purpose flags

Referenced by lfh_to_cpu().

◆ ziplocsig

int zip_lfh::ziplocsig

local file header signature

Referenced by binfile_read_lfh(), and lfh_to_cpu().

◆ zipmthd

short zip_lfh::zipmthd

compression method

Referenced by binfile_read_content(), lfh_to_cpu(), and write_zipmember().

◆ zipname

char zip_lfh::zipname[0]

file name (length as given above)

◆ zipsize

unsigned int zip_lfh::zipsize

file size (after compression)

Referenced by binfile_read_content(), download_finish(), lfh_to_cpu(), and write_zipmember().

◆ ziptime

short zip_lfh::ziptime

file modification time

Referenced by lfh_to_cpu().

◆ zipuncmp

unsigned int zip_lfh::zipuncmp

◆ zipver

short zip_lfh::zipver

minimum zip spec version needed to extract

Referenced by lfh_to_cpu().

◆ zipxtraln

unsigned short zip_lfh::zipxtraln

extra filed length (unused?)

Referenced by binfile_read_content(), and lfh_to_cpu().


The documentation for this struct was generated from the following file: