⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 externs.c

📁 open arj source
💻 C
📖 第 1 页 / 共 3 页
字号:
int chk_free_space;                     /* Check space before extraction */int force_lfn;                          /* Force LFN support (-h$) */int select_by_number;                   /* Select files by number (-#) */int show_filenames_only;                /* (-jl) Simplified display */int override_archive_exts;              /* Set default archive extensions */int extm_mode;                          /* Extract files w/matches (-ho) */int exit_after_count;                   /* Exit after N files (-jc) */int start_at_ext_pos;                   /* 1 if the -jx option was issued */int exclude_paths;                      /* Exclude paths from filenames (-e) */int exclude_files;                      /* Exclude selected files (-x) */int arjsec_opt;                         /* -he options */int run_cmd_at_start;                   /* Execute command on start (-hc) */int delete_processed;                   /* Delete processed files (-d) */int debug_enabled;                      /* 1 if yes */int install_errhdl;                     /* Install critical error handler (-&) */int chapter_mode;                       /* 0 - do not create chapters                                           1 - create/process a chapter archive                                           2 - dismiss chapter archive */int set_target_directory;               /* Set target directory (-ht) */int serialize_exts;                     /* Serialize extensions (-jo/-jo1) */int allow_any_attrs;                    /* Allow any file attributes (-a) */int filter_fa_arch;                     /* Store only files with 0x20 bit set */int append_curtime;                     /* Append current date/time to archive                                           filename (-h#) */char *time_str;                         /* Time string to append */int use_ansi_cp;                        /* Use ANSI codepage (-hy) */#if SFX_LEVEL>=ARJint queries_assume_no[TOTAL_QUERIES];   /* 1 if NO is assumed as reply */int queries_assume_yes[TOTAL_QUERIES];  /* 1 if YES is assumed as reply */#endifint accept_shortcut_keys;               /* Never used and defaults to 0 */int skip_next_vol_query;                /* Skip "next volume...?" query */int skip_scanned_query;                 /* Skip "scanned enough?" (-jys) */int overwrite_existing AUTOINIT;        /* 1 if no prompt for overwriting an                                           existing file is to be displayed */int skip_rename_prompt;                 /* Skip "New name...?" prompt */int skip_space_query;                   /* Skip free disk space query */int query_delete;                       /* 1 if the user is to be queried when                                           a set of files is to be deleted */#if SFX_LEVEL>=ARJSFXVint prompt_for_mkdir;                   /* 1 if yes (overrides -y) */int skip_append_query;                  /* Skip "Append @ position..." query */int kbd_cleanup_on_input;               /* Defaults to 0 */#endif#if SFX_LEVEL>=ARJSFXVint use_sfxstub;                        /* Create multivolume stubbed                                           packages */#endif#if SFX_LEVEL>=ARJint whole_files_in_mv;                  /* Store whole files in volumes (-vw) */int pause_between_volumes;              /* Pause after completing volume                                           (-vp) */int inhibit_change_test;                /* Inhibit diskette change test (-vi) */int mv_cmd_state;                       /* -vs/vz/vd commands -> MVC_* */int ignore_pcase;                       /* Ignore case of search pattern */#endif#if SFX_LEVEL>=ARJ||defined(REARJ)int no_file_activity;                   /* 1 if file writes can be ignored                                           (-hdn in ARJ, -z in REARJ) */#endifint std_list_cmd AUTOINIT;              /* 1 if the standard (non-verbose) list                                           is requested */int print_with_more;                    /* Set to 1 if the ARJ P was called and                                           the "more?" prompt is enabled */int subdir_extraction;                  /* 1 if the ARJ x command was issued */int execute_cmd;                        /* ARJ B sets this flag */int change_vol_delay;                   /* Delay specified with -p */unsigned int left_trim;                 /* Number of chars to remove from the                                           beginning of filename during the                                           extraction */char listchar;                          /* Defaults to '!' */int errorlevel;                         /* DOS errorlevel */unsigned int errors AUTOINIT;           /* Number of errors */int lines_per_page;                     /* Lines per screen for using "more" */int lines_scrolled;                     /* Lines scrolled */int secondary_file_type;                /* Type specified with a list */unsigned int file_type;                 /* See DT_* equates */int unpackable;                         /* 1 if the compressed file becomes                                           greated than the original one */int fdisp_lines;                        /* Lines to display in m_w command */int reserve_size;                       /* Size of reserved buffer */int bitcount;                           /* Temporary counter */FILE_COUNT av_total_files;              /* Total # of files on all volumes */FILE_COUNT av_total_longnames;          /* Total # of LFNs on all volumes */FILE_COUNT exit_count;                  /* Number of files to exit after */#if SFX_LEVEL>=ARJFILE_COUNT split_files;                 /* Number of files that span across                                           volumes */#endif#if SFX_LEVEL>=ARJFILE_COUNT FAR *order;                  /* Order of files */int params_max;char **f_arg_array;#elseint order[PARAMS_MAX];int params_max=PARAMS_MAX;char *f_arg_array[PARAMS_MAX];          /* Array of filename arguments */#endifchar *comment_file;                     /* Global comment file */char *archive_cmt_name;                 /* Archive comment (-z) filename */char *yes_query_list;                   /* List of -jy parameters */char *extraction_filename;              /* Filename specified by -jw */char *swptr_hv;                         /* -hv parameter */char *search_reserve;                   /* For strings that span across block                                           boundaries */#if SFX_LEVEL>=ARJchar *search_str[SEARCH_STR_MAX];       /* Search patterns */#endifchar *filename_to_restart;              /* Filename specified with -jn */char *string_parameter;                 /* -jq string parameter */char *arjdisp_ptr;                      /* -hp (ARJ$DISP switch) */char *arjcrypt_name;                    /* ARJCRYPT.COM override (-hg) */char *nonexist_name;                    /* Nonexistent filespec (-hn) */unsigned long garble_ftime;             /* Used as a random seed when garbling                                           files */char *index_name;                       /* Index (-ji) filename */char *list_file;                        /* -L list file */char *swptr_t;                          /* -t (secondary file type list) */char *cmd_to_exec;                      /* Text of command to be run */char *archive_suffixes;                 /* A list of packed file extensions */char *mv_cmd;                           /* Executed between volumes */#ifndef REARJchar *timestr_older;                    /* "-ob", "-oab", "-ocb" */char *timestr_newer;                    /* "-o", "-ob", "-oc" */#endifchar *arj_env_name;                     /* "ARJ_SW" or "ARJ32_SW" */char *swptr_hm;                         /* -hm (file list management) */char *work_directory;                   /* -w (work directory) override */char *target_dir;                       /* Target directory, -ht overrides it */char *tmp_archive_name;                 /* Back-up archive */char *rsp_name;                         /* Response (@) filename *//* Temporary filename storage */#if SFX_LEVEL>=ARJSFXVchar *tmp_tmp_filename;#elsechar tmp_tmp_filename[FILENAME_MAX];#endif/* Archive filename with the extension added. */#if SFX_LEVEL>=ARJSFXVchar *archive_name;#elsechar archive_name[FILENAME_MAX];#endifchar *arjsec_env_name;                  /* ARJ-SECURITY envelope filename (-hz)                                           Unused in noncommercial version */char password_modifier;                 /* Garble password modifier */char *garble_password;                  /* Pointer to garble password */char *archive_ext_list;                 /* -hx extension list */char *debug_opt;                         /* -hd (debug) */char *start_cmd;                        /* Command to run at start */char *misc_buf;                         /* allocated at main(). General-purpose                                           buffer. */char label_drive;                       /* Drive letter (-$A, -$B, etc.) */char *strcpy_buf;                       /* allocated at main() */unsigned char host_os;                  /* Host operating system of archive                                           and source files within it. */char *out_buffer;                       /* Temporary storage of encoded data *//* ARJ header storage area */#if SFX_LEVEL>=ARJSFXVchar *header;#elsechar header[HEADERSIZE_MAX];#endifunsigned char byte_buf;                 /* Used for preserving the data read */unsigned char subbitbuf;                /* Backup storage */int user_wants_fail;                    /* -1 if the user has manually                                           cancelled the operation */int resume_volume_num;                  /* -jn volume number */unsigned int ext_voldata;               /* Size of additional (non-ARJ) data in                                           multivolume archives */int out_avail;                          /* Number of available bytes in                                           out_buffer */int out_bytes;                          /* Number of bytes pending */int total_chapters;                     /* Number of chapters in the file */int chapter_to_process;                 /* Number of chapter to be processed */int current_chapter;                    /* Chapter number of current file */FILE_COUNT max_filenames;               /* Initialized with 65000 by default */unsigned int user_bufsiz;               /* The "-jh" value */unsigned int current_bufsiz;            /* Size of the buffer, picked every time                                           when the compressor starts */unsigned short bitbuf;                  /* Used directly in the decoding */FILE *new_stderr;                       /* Indicates presence of STDERR                                           re-route */FILE *tstream;                          /* Any disk file */#if SFX_LEVEL>=ARJFILE *idxstream;                        /* Index file */#endif#if SFX_LEVEL>=ARJSFXVFILE *new_stdout;                       /* stdout or stderr */#endifFILE *atstream=NULL;                    /* Temporary handle */#if SFX_LEVEL>=ARJFILE *aostream;                         /* Archive output file handle */FILE *encstream;                        /* The file being encoded */#endifFILE *aistream;                         /* Archive input file handle */#if SFX_LEVEL>=ARJSFXVunsigned long FAR *arch_hdr_index;      /* Contains offsets of archive files */#endifunsigned long last_hdr_offset;          /* Offset of last archive header */#if SFX_LEVEL>=ARJlong search_occurences[SEARCH_STR_MAX]; /* Number of occurences of each search                                           pattern from search_str[] */#endifunsigned long ext_pos;                  /* Offset specified by -jx */long uncompsize;                        /* Size of the file on the disk */unsigned long compsize;                 /* Size of compressed data */unsigned long origsize;                 /* Size of the source file */unsigned long av_uncompressed;          /* Size of uncompressed data on all                                           volumes */unsigned long av_compressed;            /* Size of compressed data on all                                           volumes */unsigned long total_size;               /* Total size of all files to be                                           archived */unsigned long total_written;            /* Total size of all files that are                                           archived, excluding the current. */unsigned long minfree;                  /* Minimal disk space for operation

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -