📄 mkisofs.h
字号:
extern unsigned int path_table_size;extern unsigned int path_table[4];extern unsigned int path_blocks;extern char * path_table_l;extern char * path_table_m;extern unsigned int jpath_table_size;extern unsigned int jpath_table[4];extern unsigned int jpath_blocks;extern char * jpath_table_l;extern char * jpath_table_m;extern struct iso_directory_record root_record;extern struct iso_directory_record jroot_record;extern int use_eltorito;extern int hard_disk_boot;extern int not_bootable;extern int no_emul_boot;extern int load_addr;extern int load_size;extern int boot_info_table;extern int use_RockRidge;extern int use_Joliet;extern int rationalize;extern int follow_links;extern int verbose;extern int gui;extern int all_files;extern int generate_tables;extern int print_size;extern int split_output;extern int jhide_trans_tbl;extern int hide_rr_moved;extern int omit_period;extern int omit_version_number;extern int no_rr;extern int transparent_compression;extern int RR_relocation_depth;extern int full_iso9660_filenames;extern int allow_untranslated;extern int split_SL_component;extern int split_SL_field;extern char *trans_tbl;/* tree.c */extern int DECL(stat_filter, (char *, struct stat *));extern int DECL(lstat_filter, (char *, struct stat *));extern int DECL(sort_tree,(struct directory *));extern struct directory * DECL(find_or_create_directory,(struct directory *, const char *, struct directory_entry * self, int));extern void DECL (finish_cl_pl_entries, (void));extern int DECL(scan_directory_tree,(struct directory * this_dir, char * path, struct directory_entry * self));extern int DECL(insert_file_entry,(struct directory *, char *, char *));extern void DECL(generate_iso9660_directories,(struct directory *, FILE*));extern void DECL(dump_tree,(struct directory * node));extern struct directory_entry * DECL(search_tree_file, (struct directory * node,char * filename));extern void DECL(update_nlink_field,(struct directory * node));extern void DECL (init_fstatbuf, (void));extern struct stat root_statbuf;extern struct stat fstatbuf;/* eltorito.c */extern void DECL(init_boot_catalog, (const char * path ));extern void DECL(get_torito_desc, (struct eltorito_boot_descriptor * path ));extern void DECL (insert_boot_cat, (void));/* boot.c */extern void sparc_boot_label __PR((char *label));extern void scan_sparc_boot __PR((char *files));extern int make_sun_label __PR((void));/* write.c */extern int DECL(get_731,(char *));extern int DECL(get_732,(char *));extern int DECL(get_733,(char *));extern int DECL(isonum_733,(unsigned char *));extern void DECL(set_723,(char *, unsigned int));extern void DECL(set_731,(char *, unsigned int));extern void DECL(set_721,(char *, unsigned int));extern void DECL(set_733,(char *, unsigned int));extern int DECL(sort_directory,(struct directory_entry **, int));extern void DECL(generate_one_directory,(struct directory *, FILE*));extern void DECL(memcpy_max, (char *, char *, int));extern int DECL(oneblock_size, (int starting_extent));extern struct iso_primary_descriptor vol_desc;extern void DECL(xfwrite, (void * buffer, int count, int size, FILE * file));extern void DECL(set_732, (char * pnt, unsigned int i));extern void DECL(set_722, (char * pnt, unsigned int i));extern void DECL(outputlist_insert, (struct output_fragment * frag));/* multi.c */extern FILE * in_image;extern int DECL(open_merge_image,(char * path)); extern struct iso_directory_record * DECL(merge_isofs,(char * path)); extern int DECL(free_mdinfo, (struct directory_entry **, int len));extern struct directory_entry ** DECL(read_merging_directory,(struct iso_directory_record *, int*));extern void DECL(merge_remaining_entries, (struct directory *, struct directory_entry **, int));extern int DECL(merge_previous_session, (struct directory *, struct iso_directory_record *));extern int DECL(get_session_start, (int *));/* joliet.c */int DECL(joliet_sort_tree, (struct directory * node));/* match.c */extern int DECL(matches, (char *));extern int DECL(add_match, (char *));/* files.c */struct dirent * DECL(readdir_add_files, (char **, char *, DIR *));/* */extern int DECL(iso9660_file_length,(const char* name, struct directory_entry * sresult, int flag));extern int DECL(iso9660_date,(char *, time_t));extern void DECL(add_hash,(struct directory_entry *));extern struct file_hash * DECL(find_hash,(dev_t, ino_t));extern void DECL(add_directory_hash,(dev_t, ino_t));extern struct file_hash * DECL(find_directory_hash,(dev_t, ino_t));extern void DECL (flush_file_hash, (void));extern int DECL(delete_file_hash,(struct directory_entry *));extern struct directory_entry * DECL(find_file_hash,(char *));extern void DECL(add_file_hash,(struct directory_entry *));extern int DECL(generate_rock_ridge_attributes,(char *, char *, struct directory_entry *, struct stat *, struct stat *, int deep_flag));extern char * DECL(generate_rr_extension_record,(char * id, char * descriptor, char * source, int * size));extern int DECL(check_prev_session, (struct directory_entry **, int len, struct directory_entry *, struct stat *, struct stat *, struct directory_entry **));#ifdef USE_SCG/* scsi.c */#ifdef __STDC__extern int readsecs(int startsecno, void *buffer, int sectorcount);extern int scsidev_open(char *path);#elseextern int readsecs();extern int scsidev_open();#endif#endifextern char * extension_record;extern int extension_record_extent;extern int n_data_extents;/* These are a few goodies that can be specified on the command line, and are filled into the root record */extern char * preparer;extern char * publisher;extern char * copyright;extern char * biblio;extern char * abstract;extern char * appid;extern char * volset_id;extern char * system_id;extern char * volume_id;extern char * boot_catalog;extern char * boot_image;extern char * genboot_image;extern int volume_set_size;extern int volume_sequence_number;extern void * DECL(e_malloc,(size_t));#define SECTOR_SIZE (2048)#define ROUND_UP(X) ((X + (SECTOR_SIZE - 1)) & ~(SECTOR_SIZE - 1))#define NEED_RE 1#define NEED_PL 2#define NEED_CL 4#define NEED_CE 8#define NEED_SP 16#define PREV_SESS_DEV (sizeof(dev_t) >= 4 ? 0x7ffffffd : 0x7ffd)#define TABLE_INODE (sizeof(ino_t) >= 4 ? 0x7ffffffe : 0x7ffe)#define UNCACHED_INODE (sizeof(ino_t) >= 4 ? 0x7fffffff : 0x7fff)#define UNCACHED_DEVICE (sizeof(dev_t) >= 4 ? 0x7fffffff : 0x7fff)#ifdef VMS#define STAT_INODE(X) (X.st_ino[0])#define PATH_SEPARATOR ']'#define SPATH_SEPARATOR ""#else#define STAT_INODE(X) (X.st_ino)#define PATH_SEPARATOR '/'#define SPATH_SEPARATOR "/"#endif/* * When using multi-session, indicates that we can reuse the * TRANS.TBL information for this directory entry. If this flag * is set for all entries in a directory, it means we can just * reuse the TRANS.TBL and not generate a new one. */#define SAFE_TO_REUSE_TABLE_ENTRY 0x01#define DIR_HAS_DOT 0x02#define DIR_HAS_DOTDOT 0x04#define INHIBIT_JOLIET_ENTRY 0x08#define INHIBIT_RR_ENTRY 0x10#define RELOCATED_DIRECTORY 0x20#define INHIBIT_ISO9660_ENTRY 0x40#define MEMORY_FILE 0x80/* * Volume sequence number to use in all of the iso directory records. */#define DEF_VSN 1/* * Make sure we have a definition for this. If not, take a very conservative * guess. From what I can tell SunOS is the only one with this trouble. */#ifndef NAME_MAX#ifdef FILENAME_MAX#define NAME_MAX FILENAME_MAX#else#define NAME_MAX 128#endif#endif/* * XXX JS: Some structures have odd lengths! * Some compilers (e.g. on Sun3/mc68020) padd the structures to even length. * For this reason, we cannot use sizeof (struct iso_path_table) or * sizeof (struct iso_directory_record) to compute on disk sizes. * Instead, we use offsetof(..., name) and add the name size. * See iso9660.h */#ifndef offsetof#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -