Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
マクロ定義 | 関数 | 変数
lzh.cpp ファイル

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"

マクロ定義

#define UNIX_FILE_TYPEMASK   0170000
 
#define UNIX_FILE_DIRECTORY   0040000
 
#define UNIX_FILE_SYMLINK   0120000
 
#define setup_get(PTR)   (get_ptr = (PTR))
 
#define get_byte()   (*get_ptr++ & 0xFF)
 
#define put_ptr   get_ptr
 
#define setup_put(PTR)   (put_ptr = (PTR))
 
#define put_byte(c)   (*put_ptr++ = (char)(c))
 
#define is_regularfile(statp)   (((statp)->st_mode & S_IFMT) == S_IFREG)
 

関数

ushort calc_header_crc (uchar *p, uint n)
 
unsigned int calc_sum (unsigned char *, int)
 
void convdelim (uchar *, uchar)
 
LONGLONG copyfile (MYFILE &f1, MYFILE &f2, LONGLONG size, int crc_flg, bool prg_flg, int stop_flg, bool test_flg)
 

変数

ushort lzh_crc
 

詳解

LZH member in archive

著者
chito.nosp@m.ra48.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

マクロ定義詳解

◆ 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

#define put_ptr   get_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()

ushort calc_header_crc ( uchar p,
uint  n 
)
extern

◆ calc_sum()

unsigned int calc_sum ( unsigned char *  p,
int  len 
)
extern

◆ convdelim()

void convdelim ( uchar path,
uchar  delim 
)
extern

◆ copyfile()

LONGLONG copyfile ( MYFILE &  f1,
MYFILE &  f2,
LONGLONG  size,
int  crc_flg,
bool  prg_flg,
int  stop_flg,
bool  test_flg 
)
extern

変数詳解

◆ lzh_crc

ushort lzh_crc
extern