📄 defines.h
字号:
#define ARJ_ERL_NO_MEMORY 8#define ARJ_ERL_NOT_ARJ_ARCHIVE 9#define ARJ_ERL_XMS_ERROR 10#define ARJ_ERL_BREAK 11#define ARJ_ERL_TOO_MANY_CHAPTERS 12/* ARJSFX errorlevels */#define ARJSFX_ERL_SUCCESS 0#define ARJSFX_ERL_ERROR 1/* ARJSFXJR errorlevels */#define ARJSFXJR_ERL_SUCCESS 0#define ARJSFXJR_ERL_FATAL 1#define ARJSFXJR_ERL_ERROR 2/* REARJ errorlevels */#define REARJ_ERL_SUCCESS 0#define REARJ_ERL_WARNING 1 /* File not found or other warning */#define REARJ_ERL_UNCONFIGURED 2 /* File is not a configured archive type */#define REARJ_ERL_TGT_EXISTS 3 /* Target archive already exists */#define REARJ_ERL_DISK_FULL 4 /* Not enough disk space */#define REARJ_ERL_UPD_SKIPPED 5 /* User skipped or user did not select update option */#define REARJ_ERL_UNPACK 6 /* UNPACK error */#define REARJ_ERL_PACK 7 /* PACK error */#define REARJ_ERL_DIRECTORIES 8 /* Target cannot support directories */#define REARJ_ERL_COUNT 9 /* Wrong file count */#define REARJ_ERL_SIZE 10 /* Wrong total size */#define REARJ_ERL_INTERNAL 11 /* Internal archive REARJ error */#define REARJ_ERL_RENAME 12 /* Rename archive error */#define REARJ_ERL_VIRUS 13 /* Invoked /v command error (found a virus?) */#define REARJ_ERL_OVERGROW 14 /* Output archive is larger *//* REGISTER errorlevels */#define REGISTER_ERL_SUCCESS 0#define REGISTER_ERL_ERROR 1/* Approx. EXE file sizes (currently unused) */#define EXESIZE_ARJ 102400L#define EXESIZE_ARJSFXV 30000L#define EXESIZE_ARJSFX 14000L#define EXESIZE_ARJSFXJR 9000L#define EXESIZE_MINSFX 5000L /* The smallest header prefix that is considered as SFX (actually checked as EXESIZE_MINSFX+1) *//* Maximum # of bytes to search for an archive header signature */#if TARGET==DOS #define HSLIMIT_ARJ 524288L #define HSLIMIT_ARJSFX 262144L #define HSLIMIT_ARJSFXJR 131072L#elif TARGET==OS2&&defined(TILED)&&!defined(DEBUG) #define HSLIMIT_ARJ 320000L #define HSLIMIT_ARJSFX 66000L #define HSLIMIT_ARJSFXJR 18000L#else #define HSLIMIT_ARJ 16777216L /* ...so we don't know/care about it */ #define HSLIMIT_ARJSFX 8188608L #define HSLIMIT_ARJSFXJR 4094304L#endif/* Standard queries */#define QUERY_CRITICAL 0 /* Can't be disabled */#define QUERY_APPEND 1 /* -jya */#define QUERY_CREATE_DIR 2 /* -jyc */#define QUERY_DELETE_N_FILES 3 /* -jyd */#define QUERY_LOW_SPACE 4 /* -jyk */#define QUERY_EXTRACT_RENAME 5 /* -jyn */#define QUERY_OVERWRITE 6 /* -jyo */#define QUERY_SCANNED_ENOUGH 8 /* -jys */#define QUERY_NEXT_VOLUME 9 /* -jyv */#define QUERY_UPDATE 11 /* -jy std */#define QUERY_PRESS_ENTER 12 /* "Press ENTER" and default is OK */#define QUERY_ARCH_OP 13 /* archive operations (garble, etc.) */#define TOTAL_QUERIES 14 /* Query array size *//* Standard replies */#define REPLY_YES 0#define REPLY_NO 1#define REPLY_QUIT 2#define REPLY_ALL 3#define REPLY_SKIP 4#define REPLY_GLOBAL 5#define REPLY_COMMAND 6#define MAX_REPLY 6/* Progrss indicator states */#define IND_NORMAL 0#define IND_NONE 1#define IND_GRAPH 2#define IND_PCT_GRAPH 3#define IND_TOTAL_PCT 4#define IND_TOTAL_GRAPH 5#define IND_TOTAL_PCT_GRAPH 6#define IND_TOTAL_PCT_LGRAPH 7 /* -i6 (undocumented in v 2.62c) *//* Multivolume option settings */#define MV_NONE 0 /* No -v */#define MV_STD 1 /* Standard -v w/user defined size */#define MV_AVAIL 2 /* Volume size depends on free space *//* Multivolume command execution settings */#define MVC_NONE 0 /* No command execution (default) */#define MVC_RUN_CMD 1 /* Execute command (-vs) */#define MVC_RUN_CMD_NOECHO 2 /* Run command w/no echo (-vz) */#define MVC_DELETION 3 /* -vd (deletion) command *//* -* option (quiet mode) settings */#define ARJ_NO_QUIET 0 /* default */#define ARJ_QUIET 1 /* -* */#define ARJ_SILENT 2 /* -*1 */#define ARJ_QUIET2 3 /* -*2 *//* Archive security states */#define ARJSEC_NONE 0 /* No ARJ-SECURITY */#define ARJSEC_SECURED 1 /* Security envelope is present */#define ARJSEC_SIGNED 2 /* Security signature is present *//* ARJ-SECURITY processing options */#define ARJSECP_STD 0 /* Default */#define ARJSECP_SKIP 1 /* Skip test of security envelope */#define ARJSECP_SET_ERROR 2 /* Set error on envelope *//* Filename matching levels */#define FMM_STD 0 /* Default */#define FMM_FULL_PATH 1 /* Match using full pathnames (-p) */#define FMM_SUBDIRS 2 /* Match pathname w/subdirs (-p1) *//* LFN support modes */#define LFN_DEFAULT 0 /* Default (no -hf) */#define LFN_NONE 1 /* Use short names only (-hf) */#define LFN_DUAL_EXT 2 /* Extract to W95LNAME.NNN (-hf1) */#define LFN_IGNORE 3 /* Use LFNs in DOS (-hf2) */#define LFN_DUAL 4 /* Use dual-mode name storage (-hf3) */#define LFN_ALL 5 /* Set all files as LFNs (-hf4) *//* Filelist storage classes */#define BST_NONE 0 /* No memory allocated */#define BST_FAR 1 /* Block is in the far memory */#define BST_DISK 2 /* Block is on the disk */#define BST_XMS 3 /* Block is in the XMS *//* File search logging levels */#define SEARCH_DEFAULT 0 /* Display everything */#define SEARCH_BRIEF 1 /* Display nothing but totals (-hw) */#define SEARCH_SHOW_NAMES 2 /* Display files w/matches (-hw1) *//* GOST encryption modes */#define GOST_NONE 0 /* No GOST encryption */#define GOST256 1 /* 256-bit encryption (2.55+) */#define GOST40 2 /* 40-bit encryption (2.61+) *//* Extract files containing the given text */#define EXTM_NONE 0 /* No match is required */#define EXTM_MATCHING 1 /* Only extract matching files */#define EXTM_MISMATCHING 2 /* Only extract files w/o matches *//* -d (delete_processed) flags */#define DP_NONE 0 /* Do not delete processed files */#define DP_STD 1 /* Standard (-d) */#define DP_ADD 2 /* On adds */#define DP_STD 1 /* Standard (-d) - ask permission */#define DP_ADD 2 /* Same as "ARJ m" */#define DP_ADD_TRUNC 3 /* Same as DP_ADD + truncate (ASR fix for 2.78-TCO) */#define DP_EXTRACT 10 /* On extraction *//* Chapter archive update mode */#define CHAP_NONE 0 /* No support for chapters */#define CHAP_USE 1 /* Create/update/extract chapters */#define CHAP_REMOVE 2 /* Revert a chapter archive back *//* SFX creation states */#define SFXCRT_NONE 0 /* Do not create a SFX */#define SFXCRT_SFX 1 /* Create an ARJSFX/ARJSFXV EXE */#define SFXCRT_SFXJR 2 /* Create an ARJSFXJR EXE *//* SFX descriptive identifiers */#define SFXDESC_NONSFX 0 /* Non-ARJSFX module */#define SFXDESC_SFXJR 1 /* ARJSFXJR module */#define SFXDESC_SFX 2 /* ARJSFX module */#define SFXDESC_SFXV 3 /* ARJSFXV module */#define SFXDESC_MIN SFXDESC_SFXJR /* Supported range of descriptors */#define SFXDESC_MAX SFXDESC_SFXV/* Ignore CRC errors (-jr) */#define ICE_NONE 0 /* Strict header checking */#define ICE_FORMAT 1 /* Ignore header format errors */#define ICE_CRC 2 /* Ignore header CRC errors only *//* Ignore archive open errors */#define IAE_NONE 0 /* All open errors result in failure */#define IAE_ACCESS 1 /* Ignore open access errors (-hq) */#define IAE_NOTFOUND 2 /* Ignore not found errors (-hq1) */#define IAE_ALL 3 /* Ignore both of the above (-hq2) *//* ANSI codepage handling options */#define ANSICP_STD 0 /* Standard processing (depends on host OS) */#define ANSICP_CONVERT 1 /* Convert to OEM codepage (-hy) */#define ANSICP_SKIP 2 /* Process only OEM archives (-hy1) */#define ANSICP_USE_OEM 2 /* Process only OEM archives (-hy2) */#define ANSICP_USE_ANSI 4 /* Process only ANSI archives (-hy3) *//* "-h#" (append time stamp) options */#define ATS_NONE 0 /* Nothing to append */#define ATS_DATE 1 /* Append date string */#define ATS_TIME 2 /* Append time string */#define ATS_DUAL 3 /* Append day number and time *//* Comment display settings */#define CMTD_STD 0 /* Standard comment handling style */#define CMTD_PCMD 1 /* Use P command to display ANSI */#define CMTD_NONE 2 /* Do not display comments *//* Verbose settings */#define VERBOSE_NONE 0 /* Default level */#define VERBOSE_STD 1 /* -jv */#define VERBOSE_ENH 2 /* -jv1 *//* Update and freshen options */#define UC_NONE 0 /* None (default) */#define UC_NEW_OR_NEWER 1 /* New + newer (-u) */#define UC_NEW_OR_OLDER 2 /* New + older (-u1) */#define UC_NEW_OR_DIFFERENT 3 /* New + different (-u2) */#define UC_NEW_OR_CRC 4 /* New + CRC mismatch (-u3) */#define FC_NONE 0 /* None (default) */#define FC_EXISTING 1 /* Existing (-f) */#define FC_OLDER 2 /* Older (-f1) */#define FC_DIFFERENT 3 /* Different (-f2) */#define FC_CRC 4 /* CRC mismatch (-f3) *//* Selectable file types */#define FT_BINARY 1 /* Binary (default) */#define FT_TEXT 2 /* Text */#define FT_TEXT_FORCED 3 /* Forced text type */#define FT_TEXT_GRAPHICS 4 /* Text with graphics */#define FT_NO_OVERRIDE 0 /* No type specified *//* Backup options (-jg) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -