Subversion Repositories SvarDOS

Rev

Rev 269 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 269 Rev 272
Line 22... Line 22...
22
  unsigned long crc32;
22
  unsigned long crc32;
23
  long dataoffset;      /* offset in the file where compressed data starts */
23
  long dataoffset;      /* offset in the file where compressed data starts */
24
  struct ziplist *nextfile;
24
  struct ziplist *nextfile;
25
  time_t timestamp;     /* the timestamp of the file */
25
  time_t timestamp;     /* the timestamp of the file */
26
  short compmethod;
26
  short compmethod;
27
  unsigned char flags;  /* zero for files, non-zero for directories */
27
  unsigned char flags;  /* see ZIP_FLAG_xxx above */
28
  char filename[1];     /* must be last element (gets expanded at runtime) */
28
  char filename[1];     /* must be last element (gets expanded at runtime) */
29
};
29
};
30
 
30
 
31
struct ziplist *zip_listfiles(FILE *fd);
31
struct ziplist *zip_listfiles(FILE *fd);
32
int zip_unzip(FILE *zipfd, struct ziplist *curzipnode, const char *fulldestfilename);
32
int zip_unzip(FILE *zipfd, struct ziplist *curzipnode, const char *fulldestfilename);