summaryrefslogtreecommitdiff
path: root/navit/zipfile.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-11-09 17:18:05 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-11-09 17:18:05 +0000
commitb68c1ec7412fb5bc372d562fc0c661c9e559a2c4 (patch)
treeb13f8f785150b1c9597bb582ad56a185448418e7 /navit/zipfile.h
parent045120b29ec050a29d1334d6bcf06eb935044862 (diff)
downloadnavit-b68c1ec7412fb5bc372d562fc0c661c9e559a2c4.tar.gz
Add:Core:Zipfile offsets
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3666 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/zipfile.h')
-rw-r--r--navit/zipfile.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/navit/zipfile.h b/navit/zipfile.h
index 01c1d0f48..0ef5ea4bd 100644
--- a/navit/zipfile.h
+++ b/navit/zipfile.h
@@ -29,17 +29,17 @@
struct zip_lfh {
int ziplocsig;
- short zipver;
- short zipgenfld;
- short zipmthd;
- short ziptime;
- short zipdate;
- int zipcrc;
- unsigned int zipsize;
- unsigned int zipuncmp;
- unsigned short zipfnln;
- unsigned short zipxtraln;
- char zipname[0];
+ short zipver; // 4
+ short zipgenfld; // 6
+ short zipmthd; // 8
+ short ziptime; // 10
+ short zipdate; // 12
+ int zipcrc; // 14
+ unsigned int zipsize; // 18
+ unsigned int zipuncmp; // 22
+ unsigned short zipfnln; // 26
+ unsigned short zipxtraln; // 30
+ char zipname[0]; // 34
} __attribute__ ((packed));
#define zip_cd_sig 0x02014b50