Changeset 391 for python/trunk/PC/bdist_wininst/archive.h
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/PC/bdist_wininst/archive.h
r2 r391 15 15 16 16 struct eof_cdir { 17 long tag;/* must be 0x06054b50 */18 19 20 21 22 23 24 17 long tag; /* must be 0x06054b50 */ 18 short disknum; 19 short firstdisk; 20 short nTotalCDirThis; 21 short nTotalCDir; 22 long nBytesCDir; 23 long ofsCDir; 24 short commentlen; 25 25 }; 26 26 27 27 struct cdir { 28 long tag;/* must be 0x02014b50 */29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 28 long tag; /* must be 0x02014b50 */ 29 short version_made; 30 short version_extract; 31 short gp_bitflag; 32 short comp_method; 33 short last_mod_file_time; 34 short last_mod_file_date; 35 long crc32; 36 long comp_size; 37 long uncomp_size; 38 short fname_length; 39 short extra_length; 40 short comment_length; 41 short disknum_start; 42 short int_file_attr; 43 long ext_file_attr; 44 long ofs_local_header; 45 45 }; 46 46 47 47 struct fhdr { 48 long tag;/* must be 0x04034b50 */49 50 51 52 53 54 55 56 57 58 48 long tag; /* must be 0x04034b50 */ 49 short version_needed; 50 short flags; 51 short method; 52 short last_mod_file_time; 53 short last_mod_file_date; 54 long crc32; 55 long comp_size; 56 long uncomp_size; 57 short fname_length; 58 short extra_length; 59 59 }; 60 60 61 61 62 62 struct meta_data_hdr { 63 64 65 63 int tag; 64 int uncomp_size; 65 int bitmap_size; 66 66 }; 67 67 … … 71 71 72 72 typedef struct tagSCHEME { 73 74 73 char *name; 74 char *prefix; 75 75 } SCHEME; 76 76 … … 79 79 extern BOOL 80 80 extract_file(char *dst, char *src, int method, int comp_size, 81 81 int uncomp_size, NOTIFYPROC notify); 82 82 83 83 extern BOOL 84 84 unzip_archive(SCHEME *scheme, char *dirname, char *data, 85 85 DWORD size, NOTIFYPROC notify); 86 86 87 87 extern char * 88 88 map_new_file(DWORD flags, char *filename, char 89 90 91 89 *pathname_part, int size, 90 WORD wFatDate, WORD wFatTime, 91 NOTIFYPROC callback); 92 92 93 93 extern BOOL 94 94 ensure_directory (char *pathname, char *new_part, 95 95 NOTIFYPROC callback); 96 96 97 97 /* codes for NOITIFYPROC */
Note:
See TracChangeset
for help on using the changeset viewer.