Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
tartar.h
[詳解]
1#ifndef _TARTAR_H
2#define _TARTAR_H
3
4#include <stdio.h>
5#include <time.h>
6#include "tar.h"
7
8class TARTAR : public CTAR {
9
10public:
11 TARTAR(FILE* fp, const char* arcname = NULL);
12 ‾TARTAR(void);
13 //
14 bool CopyData(FILE* fp);
15
16private:
17 FILE* Fp;
18 //
19 int fsetpos(FILE* fp, fpos_t pos, int origin = SEEK_SET);
20 size_t TarRead(void *buf, size_t size, unsigned long* crc);
21 int TarSeek(fpos_t offset, int origin);
22 size_t TarWrite(const void* buf, size_t size, bool eof);
23
24};
25
26#endif
Definition tar.h:14
Definition tartar.h:8
int TarSeek(fpos_t offset, int origin)
Definition tartar.cpp:61
bool CopyData(FILE *fp)
Definition tartar.cpp:77
int fsetpos(FILE *fp, fpos_t pos, int origin=SEEK_SET)
Definition tartar.cpp:28
size_t TarWrite(const void *buf, size_t size, bool eof)
Definition tartar.cpp:69
‾TARTAR(void)
Definition tartar.cpp:21
FILE * Fp
Definition tartar.h:17
size_t TarRead(void *buf, size_t size, unsigned long *crc)
Definition tartar.cpp:53