8#include "../zlib/zlib.h"
24 static const unsigned char HEADER[2];
26 ARCTGZ(HWND hwnd,
const WSTR& name,
TYPE type);
32 bool Extract(
bool verify,
const WSTR& temp,
const WSTR& password);
36 bool Compress(
int method,
int header,
const WSTR& pass,
const PATH& temp,
const vector<LHAZPROCFILE>&
v);
38 bool Delete(
const vector<LHAZFILE*>&
v);
49 bool Open(
TYPE type,
const char* name,
const char* mode) {
52 if ((
Gz = gzopen(name, mode, &
Fdgz)) == NULL)
56 Fp = _fsopen(name, mode, _SH_DENYNO);
TYPE
Definition lhazarc.h:28
@ TGZ
Definition lhazarc.h:34
gzFile Gz
Definition lhaztgz.h:76
void Close(void)
Definition lhaztgz.h:65
‾FP(void)
Definition lhaztgz.h:46
bool Open(TYPE type, const char *name, const char *mode)
Definition lhaztgz.h:49
FP(void)
Definition lhaztgz.h:45
FILE * Fp
Definition lhaztgz.h:75
int Fdgz
Definition lhaztgz.h:77
bool Delete(const vector< LHAZFILE * > &v)
Definition lhaztgz.cpp:347
static bool IsArchiveTar(int size, char *buf)
Definition lhaztgz.cpp:488
bool Extract(bool verify, const WSTR &temp, const WSTR &password)
Definition lhaztgz.cpp:205
static bool IsArchiveTgz(const WSTR &name)
Definition lhaztgz.cpp:467
int CountAll
Definition lhaztgz.h:81
bool Compress(int method, int header, const WSTR &pass, const PATH &temp, const vector< LHAZPROCFILE > &v)
Definition lhaztgz.cpp:289
static const unsigned char HEADER[2]
Definition lhaztgz.h:29
bool SkipWithCalcCRC(CTAR *tar, LONGLONG size, unsigned long &crc)
Definition lhaztgz.cpp:521
bool Test(void)
Definition lhaztgz.cpp:408
‾ARCTGZ(void)
Definition lhaztgz.cpp:198
static const char METHOD[]
Definition lhaztgz.h:80
Definition lhazprocfile.h:11
Definition lhaztreeview.h:18
¥ type v
Definition lhazregs.h:21