12 #include "unzip/unzip.h"
22 bool IsOpen(
void)
const;
25 int GetGlobalCount(
void)
const;
26 bool GetGlobalComment(
char *szComment, uLong uSizeBuf)
const;
28 bool GoToFirstFile(
void);
29 bool GoToNextFile(
void);
31 char *szFileName = NULL,
32 uLong fileNameBufferSize = 0,
33 void *extraField = NULL,
34 uLong extraFieldBufferSize = 0,
35 char *szComment = NULL,
36 uLong commentBufferSize = 0)
const;
38 bool OpenCurrentFile(
const char *password = NULL);
39 int ReadCurrentFile(voidp buf,
size_t len);
40 bool ExtractCurrentFile(FILE *file,
void *buf,
size_t buf_size);
41 bool CloseCurrentFile();
43 bool ExtractAccept(
const char *write_filename,
bool bOverwrite);
44 int Extract(
bool bFullPath,
bool bOverwrite,
const char *lpszDst,
45 bool progress_callback(
int) = NULL);
50 operator unzFile(
void);
52 static bool change_file_date(
const char *filename,uLong dosdate,
tm_unz tmu_date);
59 virtual void OnError(
const char *lpszFilePath) {}