Lhaz
|
#include <tar.h>
公開型 | |
enum | COMPLETE { ARC_NO_ERROR , ARC_CANCELED , ARC_STOPPED , ARC_ERROR , ARC_CANTOPEN } |
公開メンバ関数 | |
CTAR (const MYSTR &arcname) | |
Constructor | |
virtual | ‾CTAR (void) |
Destructor | |
bool | Compress (const char *name) |
Compress | |
COMPLETE | Extract (bool &overwrite, bool &skipflag, bool verify, bool show_progress) |
Extract | |
bool | Get (unsigned long *crc=NULL) |
Get | |
char * | GetMagicCode (void) |
char * | GetName (void) const |
LONGLONG | GetSize (void) const |
time_t | GetTime (void) const |
char | GetType (void) const |
bool | IsDir (void) const |
void | SetZoneIdentifer (const MYBUF &zi) |
bool | SkipData (void) |
SkipData | |
virtual size_t | TarRead (void *buf, size_t size, unsigned long *crc=NULL)=0 |
bool | WriteBlank (void) |
WriteBlank | |
bool | WriteHeader (FILE *fp) |
WriteHeader | |
静的公開メンバ関数 | |
static long | CalcSum (char *s, size_t size) |
CalcSum | |
static CTAR * | Create (ARCHIVE::TYPE type, gzFile fptar, FILE *fp, const char *arcname=NULL) |
Create | |
限定公開変数類 | |
LONGLONG | Size |
MYBUF | ZoneIdentifier |
非公開メンバ関数 | |
bool | ReadCalcSum (char *d, size_t size, long &sum, unsigned long *crc=NULL) |
ReadCalcSum | |
bool | WriteHeader (void) |
bool | WriteData (const char *name) |
bool | isDir (char type, char *name) |
isDir | |
virtual int | TarSeek (fpos_t offset, int origin)=0 |
virtual size_t | TarWrite (const void *buf, size_t size, bool eof=false)=0 |
非公開変数類 | |
char * | Name |
char | Atrib [8] |
char | UserID [8] |
char | GroupID [8] |
char | SizeOct [12] |
time_t | Time |
char | TimeOct [12] |
long | CheckSum |
char | CheckSumOct [8] |
char | Type |
char | Link [100] |
char | MagicCode [8] |
char | UserName [32] |
char | GroupName [32] |
char | MjDeviceNum [8] |
char | MnDeviceNum [8] |
char | LastAccessTime [12] |
char | CreateTime [12] |
char | Offset [12] |
char | Dummy [512 - 100 - 8 - 8 - 8 - 12 - 12 - 8 - 1 - 100 - 8 - 32 - 32 - 8 - 8 - 12 - 12 - 12] |
char | Prefix [155] |
char | Pad [12] |
MYSTR | ArcName |
long | CalcedSum |
bool | mIsDir |
静的非公開変数類 | |
static const char | MAGIC_CODE [8] = { 'u', 's', 't', 'a', 'r', '¥0', '0', '0' } |
static const char | MAGIC_CODE_GNU [8] = { 'u', 's', 't', 'a', 'r', ' ', ' ', '¥0' } |
static const char | LONG_LINK [] = { '.', '/', '.', '/', '@', 'L', 'o', 'n', 'g', 'L', 'i', 'n', 'k' } |
enum CTAR::COMPLETE |
CTAR::CTAR | ( | const MYSTR & | arcname | ) |
Constructor
|
virtual |
Destructor
|
static |
CalcSum
bool CTAR::Compress | ( | const char * | name | ) |
Compress
|
static |
Create
CTAR::COMPLETE CTAR::Extract | ( | bool & | overwrite, |
bool & | skipflag, | ||
bool | verify, | ||
bool | show_progress | ||
) |
Extract
bool CTAR::Get | ( | unsigned long * | crc = NULL | ) |
Get
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
isDir
|
inline |
|
private |
ReadCalcSum
|
inline |
bool CTAR::SkipData | ( | void | ) |
SkipData
|
pure virtual |
|
privatepure virtual |
bool CTAR::WriteBlank | ( | void | ) |
WriteBlank
|
private |
bool CTAR::WriteHeader | ( | FILE * | fp | ) |
WriteHeader
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |