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

📄 externs.c

📁 open arj source
💻 C
📖 第 1 页 / 共 3 页
字号:
                                           (-jdxxx) */struct timestamp tested_ftime_older;    /* Time attribute for filtering (<) */struct timestamp tested_ftime_newer;    /* Time attribute for filtering (>=) */unsigned long t_volume_offset;          /* Offset of multivolume data */unsigned long mv_reserve_space;         /* Number of bytes to reserve on the                                           first volume */unsigned long volume_limit;             /* Maximum volume size in bytes */struct timestamp secondary_ftime;       /* Used in rare occasions */struct timestamp ftime_max;             /* Most recent timestamp of files                                           contained within archive */unsigned long disk_space_used;          /* Space allocated for the files */unsigned long total_compressed AUTOINIT;/* Total size of compressed data *//* Total size of uncompressed data */unsigned long total_uncompressed AUTOINIT;unsigned long arjsec_offset;            /* Offset of ARJ-security envelope */unsigned long secured_size;             /* Original size of ARJ-secured file */unsigned long cur_header_pos;           /* Offset of currently processed header                                           within the archive */long main_hdr_offset;                   /* Offset of main archive header                                           (nonzero in SFX) */#if SFX_LEVEL>=ARJSFXVchar FAR *tmp_filename;                 /* Backup copy of current filename */#endifunsigned long volume_crc;               /* CRC kept for multivolume files */struct timestamp volume_ftime;          /* Multivolume ftime storage */FILE *ofstream;                         /* -jw output file */int recent_chapter;                     /* Chapter to be added, if any */unsigned int alloc_unit_size;           /* Size of allocation unit */FILE_COUNT split_longnames;             /* Number of cross-volume longnames */FILE_COUNT total_longnames;             /* Number of processed files with LFN */FILE_COUNT total_files AUTOINIT;        /* Number of processed files */FILE_COUNT comment_entries;             /* Number of filenames acting as                                           comment (e.g., chapter separators) */int max_chapter;                        /* Maximum number of chapter found so                                           far */#if SFX_LEVEL>=ARJint force_volume_flag;                  /* 1 if the file will be marked with                                           VOLUME_FLAG even if it is not                                           multi-volume */int sfx_desc_word;                      /* Descriptive word of SFX */int add_command;                        /* 1 if the current operation adds any                                           external files to the archive */int order_command;                      /* An order command was issued */#endifint no_inarch;                          /* 1 if there's no input archive */int modify_command;                     /* 1 if the current operation modifies                                           the archive contents */unsigned int volume_number;             /* .A0x, .Axx volume number */int continued_nextvolume;               /* 1 if the file continues on the next                                           volume (the VOLUME_FLAG is set ) */int first_vol_passed;                   /* 1 once the first archive volume has                                           been fully processed */int mvfile_type;                        /* Types of multi-volume files */int continued_prevvolume;               /* 1 if the resume_position must be                                           taken into account (indicates that                                           the file is split from a previous                                           volume) */#if SFX_LEVEL>=ARJSFXVint encryption_applied;                 /* Encryption operation will occur */#endifint cmd_verb;                           /* ASCII code of the command issued                                           (uppercase) */int security_state AUTOINIT;            /* ARJSEC_* constants may be here */int ansi_codepage;                      /* 1 if the archive filename is in the                                           ANSI codepage. */int dual_name AUTOINIT;                 /* 1 if dual-name mode (long filename                                           is stored in the comment field, see                                           help on "-hf1" for details) */unsigned long archive_size;             /* Size of the whole archive, excluding                                           the two terminating 0's */unsigned long resume_position;          /* For multi-volume files, the number                                           of bytes to skip. */unsigned long header_crc;               /* CRC of current archive header */unsigned long file_crc;                 /* CRC-32 of uncompressed file */unsigned char chapter_number;           /* Chapter number, 1 to 250. */unsigned char ext_flags;                /* Used for chapter number or extended                                           header flags storage */unsigned short host_data;               /* Used for chapter information */unsigned short entry_pos;               /* Entryname position in filename */struct timestamp ctime_stamp;           /* v 2.62+ - creation date/time */struct timestamp atime_stamp;           /* v 2.62+ - last access date/time */struct timestamp ftime_stamp;           /* Last modification date/time */struct file_mode file_mode;             /* File access mode bit-map */unsigned int method;                    /* Packing method */unsigned char arj_flags;                /* Archive flags */unsigned char arj_x_nbr;                /* Minimum version to extract */unsigned char arj_nbr;                  /* Archiver version number */unsigned char first_hdr_size;           /* Size of fixed-length header (30) */unsigned int basic_hdr_size;            /* Size of the basic (not extended)                                           header */char *hdr_comment;                      /* Comment stored in the header */char *hdr_filename;                     /* Filename stored in the header *//* Preallocated comment storage area */#if SFX_LEVEL>=ARJSFXVchar FAR *comment;#elsechar comment[COMMENT_MAX];#endifint use_comment;                        /* Supply archive comment (-z) */char filename[FILENAME_MAX];            /* Filename storage buffer */struct file_properties properties;      /* Properties of the current file */int restart_at_filename;                /* Restart volumes on filename (-jn) */#ifndef REARJunsigned char pt_len[NPT];              /* Prefix table length */unsigned short left[2*NC-1];            /* Huffman tree */unsigned short right[2*NC-1];           /* Huffman tree */unsigned char c_len[NC];                /* Character length */unsigned short cpos;                    /* Position in out_buffer */unsigned int bufsiz;                    /* Size of the Huffman buffer, specified                                           by "-jh" and adjusted afterwards */#endif#if SFX_LEVEL>=ARJSFXVunsigned char *dec_text;#elif !defined(REARJ)unsigned char dec_text[DICSIZ];#endif/* The following is an ASR fix -- performance enhancement to 2.76.06 */#if SFX_LEVEL>=ARJunsigned char *ntext;                   /* decode_f() non-volatile dictionary */#endif/* Missing or obsolete in original ARJ 2.62c */#if SFX_LEVEL>=ARJSFXVint error_occured;                      /* 1 if an error happened and ARJ must                                           exit. */#endifint file_packing;                       /* 1 if uncompressed data is a file */char FAR *encblock_ptr;                 /* Uncompressed data pointer */char FAR *packblock_ptr;                /* Compressed data pointer */unsigned int encmem_remain;             /* Amount of uncompressed data */unsigned int packmem_remain;            /* Amount of compressed data */unsigned int encmem_limit;              /* To prevent overruns */#if SFX_LEVEL>=ARJSFXVint ea_supported;                       /* Extended attributes support flag */long ext_hdr_capacity;                  /* Number of RAW bytes to flush when                                           writing the extended header on the                                           current file portion. Must be                                           SIGNED! */struct ext_hdr FAR *eh;                 /* Extended header */unsigned int ea_size;                   /* Size of unpacked EAs */#endifint valid_ext_hdr;                      /* Specifies that the extended header                                           data can be processed */char *exe_name;                         /* Name of executable invoked */#if SFX_LEVEL>=ARJint arcmail_sw;                         /* ARCmail non-overwrite mode */int dos_host;                           /* Use DOS as host OS under OS/2 */struct priority priority;               /* Selectable process priority */int include_eas;                        /* EA inclusion filelist is present */int exclude_eas;                        /* EA exclusion filelist is present */int disable_comment_series;             /* Apply comment to the 1st volume,                                           strip it for all others */int skip_century;                       /* Skip centuries in list commands */int fix_longnames;                      /* 1 if .LONGNAME EAs should be                                           resolved to filenames in headers */int crit_eas;                           /* 1 if only critical EAs should                                           be packed/restored */int symlink_accuracy;                   /* Restore symlink properties */int do_chown;                           /* Query / set the file owner */int suppress_hardlinks;                 /* Store the whole copies */int recursion_order;                    /* Directory recursion order */int encryption_id;                      /* Identifies encryption in header */jmp_buf main_proc;                      /* Entry point of archive processing                                           loop */#endif/* ARJSFX data */#if SFX_LEVEL<=ARJSFXVint valid_envelope AUTOINIT;            /* 1 if the archive has a valid                                           ARJ-SECURITY envelope */int skip_integrity_test AUTOINIT;       /* Skip virus/security check (-a) */int prompt_for_directory AUTOINIT;      /* Prompt for directory (-b) */int extract_expath AUTOINIT;            /* Extract excluding paths (-e) */int process_lfn_archive AUTOINIT;       /* Process a Windows LFN archive (-j) */int skip_preset_options;                /* Skip preset SFX options (-k) */int list_sfx_cmd AUTOINIT;              /* List SFX contents (-l) */int overwrite_ro;                       /* Overwrite read-only files */int test_sfx_cmd AUTOINIT;              /* Test archive (-t) */int verbose_list AUTOINIT;              /* Verbose list command (-v) */int extract_cmd AUTOINIT;               /* Default extract command (-x) */#if SFX_LEVEL>=ARJSFXVint skip_volumes;                       /* Skip over first volumes (-#) */int first_volume_number;                /* First volume to process */#endifint execute_extr_cmd AUTOINIT;          /* Execute command upon extraction */int skip_extract_query AUTOINIT;        /* Skip file extraction query (-ym) */char *extr_cmd_text;                    /* Command to be run */unsigned short reg_id AUTOINIT;         /* SFX registration signature */int licensed_sfx AUTOINIT;              /* Indicates a licensed (secured) SFX */int logo_shown AUTOINIT;                /* 1 once the ARJSFX logo is shown */#endif#if SFX_LEVEL<=ARJSFXint make_directories AUTOINIT;          /* 1 if directory creation is allowed */int show_ansi_comments AUTOINIT;        /* Display ANSI comments */char *list_adapted_name;                /* Filename used in listing */int test_mode AUTOINIT;                 /* 1 if test_sfx_cmd was issued */int sflist_args AUTOINIT;               /* Simplified filelist -- # of args */char *sflist[SFLIST_MAX];               /* Simplified filelist itself */#endif#ifdef COLOR_OUTPUTint redirected;                         /* 1 if STDOUT was redirected */int no_colors;                          /* 1 if color output was disabled */struct color_hl color_table[]={                               {7, 'n'},                               {10, 'o'},                               {2, 'h'},                               {15, 's'},                               {12, 'a'},                               {3, 'p'},                               {0, 0}                              };#endif

⌨️ 快捷键说明

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