LZH member in archive
[詳解]
#include "altstr.hpp"
#include <windows.h>
#include <io.h>
#include <sys/utime.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "chuf.h"
#include "mybuf.h"
#include "mystr.h"
#include "mymisc.h"
#include "myfile.h"
#include "mytime.h"
#include "mydebug.h"
#include "lzh.h"
#include "slide.h"
#include "resource.h"
#include "fileptr.h"
#include "lhazerr.h"
#include "lhazif.h"
#include "lhazregs.h"
◆ get_byte
#define get_byte |
( |
| ) |
(*get_ptr++ & 0xFF) |
◆ is_regularfile
#define is_regularfile |
( |
|
statp | ) |
(((statp)->st_mode & S_IFMT) == S_IFREG) |
◆ put_byte
#define put_byte |
( |
|
c | ) |
(*put_ptr++ = (char)(c)) |
◆ put_ptr
◆ setup_get
#define setup_get |
( |
|
PTR | ) |
(get_ptr = (PTR)) |
◆ setup_put
#define setup_put |
( |
|
PTR | ) |
(put_ptr = (PTR)) |
◆ UNIX_FILE_DIRECTORY
#define UNIX_FILE_DIRECTORY 0040000 |
◆ UNIX_FILE_SYMLINK
#define UNIX_FILE_SYMLINK 0120000 |
◆ UNIX_FILE_TYPEMASK
#define UNIX_FILE_TYPEMASK 0170000 |
◆ calc_header_crc()
◆ calc_sum()
unsigned int calc_sum |
( |
unsigned char * |
p, |
|
|
int |
len |
|
) |
| |
|
extern |
◆ convdelim()
◆ copyfile()
LONGLONG copyfile |
( |
MYFILE & |
f1, |
|
|
MYFILE & |
f2, |
|
|
LONGLONG |
size, |
|
|
int |
crc_flg, |
|
|
bool |
prg_flg, |
|
|
int |
stop_flg, |
|
|
bool |
test_flg |
|
) |
| |
|
extern |
◆ lzh_crc