89 unsigned char finderinfo[32];
90 char name[HFS_MAX_FLEN + 1];
93 struct hfs_info *
next;
148 int udf_file_entry_sector;
150 #ifdef DUPLICATES_ONCE 151 unsigned char *digest_fast;
152 unsigned char *digest_full;
163 #if defined(SORTING) || defined(DUPLICATES_ONCE) 192 int (*of_size)
__PR((UInt32_t));
193 int (*of_generate)
__PR((
void));
248 int number_of_vob_files;
249 int realsize_vob[10];
254 title_set_t *title_set;
289 struct hfs_info *hfs_info;
321 #define ELTORITO_BOOT_ID 1 322 #define ELTORITO_SECTION_HEADER 2 385 #ifdef DUPLICATES_ONCE 386 extern int duplicates_once;
425 #define DVD_SPEC_NONE 0x0 426 #define DVD_SPEC_VIDEO 0x1 427 #define DVD_SPEC_AUDIO 0x2 428 #define DVD_SPEC_HYBRD (DVD_SPEC_VIDEO | DVD_SPEC_AUDIO) 429 extern int dvd_audio;
430 extern int dvd_hybrid;
431 extern int dvd_video;
440 extern int apple_ext;
441 extern int apple_both;
442 extern int hfs_extra;
444 extern int use_mac_name;
445 extern int create_dt;
446 extern char *hfs_boot_file;
447 extern char *magic_file;
449 extern char *deftype;
450 extern char *defcreator;
452 extern char *autoname;
454 extern char *hfs_volume_id;
457 extern char *hfs_bless;
458 extern char *hfs_parms;
468 extern char *prep_boot_image[4];
469 extern int use_prep_boot;
470 extern int use_chrp_boot;
484 struct stat * this_stat,
485 struct stat * parent_stat));
496 char *,
struct stat *,
int));
548 extern Ulong get_adj_size
__PR((
int Csize));
549 extern int adj_size
__PR((
int Csize, UInt32_t start_extent,
int extra));
551 extern int insert_padding_file
__PR((
int size));
555 extern void gen_prepboot_label
__PR((
unsigned char *));
568 extern unsigned char *
parse_xa __PR((
unsigned char *pnt,
int *lenp,
583 unsigned char *
from,
size_t *fromsizep,
593 struct dirent *readdir_add_files
__PR((
char **,
char *,
DIR *));
633 extern void udf_set_extattr_macresfork
__PR((
unsigned char *
buf,
off_t size,
unsigned rba));
634 extern void udf_set_extattr_freespace
__PR((
unsigned char *
buf,
off_t size,
unsigned rba));
635 extern int udf_get_symlinkcontents
__PR((
char *,
char *,
off_t *));
643 extern int make_mac_volume
__PR((
struct directory * dpnt, UInt32_t start_extent));
644 extern int write_fork
__PR((hfsfile * hfp,
long tot));
648 extern void del_hfs_info
__PR((
struct hfs_info *));
651 extern int get_hfs_rname
__PR((
char *,
char *,
char *));
652 extern int hfs_exclude
__PR((
char *));
654 extern void hfs_init
__PR((
char *,
unsigned short,
unsigned int));
656 extern void clean_hfs
__PR((
void));
657 extern void perr
__PR((
char *));
658 extern void set_root_info
__PR((
char *));
659 extern int file_is_resource
__PR((
char *fname,
int hfstype));
660 extern int hfs_excludepath
__PR((
char *));
664 extern int make_desktop
__PR((hfsvol *,
int));
670 extern void gen_prepboot_label
__PR((MacLabel * mac_label));
672 extern int gen_mac_label
__PR((defer *));
674 extern int autostart
__PR((
void));
678 extern char *get_magic_match
__PR((
const char *));
679 extern void clean_magic
__PR((
void));
687 #ifdef _SCHILY_WALK_H 689 struct WALK *
state));
708 extern char *
abstract;
741 #define SECTOR_SIZE (2048) 742 #define ISO_ROUND_UP(X) (((X) + (SECTOR_SIZE - 1)) & ~(SECTOR_SIZE - 1)) 743 #define ISO_BLOCKS(X) (((X) / SECTOR_SIZE) + (((X)%SECTOR_SIZE)?1:0)) 745 #define ROUND_UP(X, Y) (((X + (Y - 1)) / Y) * Y) 751 #define HFS_BLK_CONV (SECTOR_SIZE/HFS_BLOCKSZ) 753 #define HFS_ROUND_UP(X) ISO_ROUND_UP(((X)*HFS_BLOCKSZ)) 754 #define HFS_BLOCKS(X) (ISO_BLOCKS(X) * HFS_BLK_CONV) 756 #define USE_MAC_NAME(E) (use_mac_name && ((E)->hfs_ent != NULL) && (E)->hfs_type) 762 #define PREV_SESS_DEV ((dev_t)-2) 763 #define TABLE_INODE ((ino_t)-2) 764 #define UNCACHED_INODE ((ino_t)-1) 765 #define UNCACHED_DEVICE ((dev_t)-1) 778 #define NULL_INO_MAX ((UInt32_t)0xFFFFFFF0) 781 #define STAT_INODE(X) (X.st_ino[0]) 782 #define PATH_SEPARATOR ']' 783 #define SPATH_SEPARATOR "" 785 #define STAT_INODE(X) (X.st_ino) 786 #define PATH_SEPARATOR '/' 787 #define SPATH_SEPARATOR "/" 796 #define SAFE_TO_REUSE_TABLE_ENTRY 0x01 797 #define DIR_HAS_DOT 0x02 798 #define DIR_HAS_DOTDOT 0x04 799 #define INHIBIT_JOLIET_ENTRY 0x08 800 #define INHIBIT_RR_ENTRY 0x10 801 #define RELOCATED_DIRECTORY 0x20 802 #define INHIBIT_ISO9660_ENTRY 0x40 803 #define MEMORY_FILE 0x80 804 #define HIDDEN_FILE 0x100 805 #define DIR_WAS_SCANNED 0x200 806 #define RESOURCE_FORK 0x400 807 #define IS_SYMLINK 0x800 808 #define MULTI_EXTENT 0x1000 809 #define INHIBIT_UDF_ENTRY 0x2000 830 #define NAME_MAX FILENAME_MAX 838 #define PATH_MAX FILENAME_MAX 840 #define PATH_MAX 1024 851 #define PATH_MAX 1024 863 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) 871 #if !defined(HAVE_MEMSET) && !defined(memset) 872 #define memset(s, c, n) fillbytes(s, n, c) 874 #if !defined(HAVE_MEMCHR) && !defined(memchr) 875 #define memchr(s, c, n) findbytes(s, n, c) 877 #if !defined(HAVE_MEMCPY) && !defined(memcpy) 878 #define memcpy(s1, s2, n) movebytes(s2, s1, n) 880 #if !defined(HAVE_MEMMOVE) && !defined(memmove) 881 #define memmove(s1, s2, n) movebytes(s2, s1, n)
unsigned int starting_block
EXPORT void get_boot_entry()
EXPORT void set_732(void *vp, UInt32_t i)
struct deferred_write * next
EXPORT UInt32_t get_731(void *vp)
struct output_fragment extension_desc
unsigned int path_table[4]
unsigned int jpath_table_size
EXPORT void do_dir_nlink(struct directory *dpnt)
EXPORT void set_721(void *vp, UInt32_t i)
_STLP_MOVE_TO_STD_NAMESPACE void sort(_RandomAccessIter __first, _RandomAccessIter __last)
unsigned int starting_block
GLuint GLuint GLsizei count
struct iso_primary_descriptor vol_desc
struct output_fragment jpathtable_desc
struct directory * filedir
EXPORT void set_722(void *vp, UInt32_t i)
int transparent_compression
unsigned int path_table_size
EXPORT char * e_strdup(char *s) const
EXPORT UInt32_t get_732(void *vp)
struct output_fragment genboot_desc
EXPORT void set_731(void *vp, UInt32_t i)
struct output_fragment sunboot_desc
struct directory * subdir
int open_merge_image(char *path)
struct output_fragment dirtree_clean
EXPORT void init_boot_catalog(char *path) const
GLenum GLuint GLenum GLsizei const GLchar * buf
struct output_fragment strpath_desc
LOCAL void convert_to_unicode(unsigned char *buffer, int size, char *source, siconvt_t *inls)
struct directory * parent
struct iso_directory_record root_record
struct output_fragment dirtree_desc
int stat_filter __PR((char *, struct stat *))
struct iso_directory_record isorec
struct output_fragment end_vol
struct directory_entry * parent_rec
struct output_fragment strdir_desc
EXPORT UInt32_t get_733(void *vp)
LOCAL int joliet_strlen(char *string, size_t maxlen, siconvt_t *inls) const
unsigned int of_start_extent
EXPORT int iso9660_date(char *result, time_t crtime)
int volume_sequence_number
UInt32_t extension_record_extent
struct directory_entry * contents
unsigned int total_rr_attr_size
struct output_fragment * out_list
struct output_fragment joliet_desc
EXPORT int joliet_sort_tree(struct directory *node)
int check_prev_session(struct directory_entry **ptr, int len, struct directory_entry *curr_entry, struct stat *statbuf, struct stat *lstatbuf, struct directory_entry **odpnt)
EXPORT UInt32_t get_711(void *vp)
struct directory * reloc_dir
struct output_fragment voldesc_desc
unsigned int jpath_table[4]
unsigned char * parse_xa(unsigned char *pnt, int *lenp, struct directory_entry *dpnt)
struct directory_entry * jcontents
struct output_fragment interpad_desc
EXPORT int iso9660_ldate(char *result, time_t crtime, int nsec, int gmtoff)
struct iso_directory_record jroot_record
struct output_fragment torito_desc
struct output_fragment strfile_desc
UInt32_t last_extent_written
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
struct directory_entry * s_entry
struct eltorito_boot_entry_info * last_boot_entry
struct output_fragment * of_next
struct directory_entry * next
struct output_fragment sunlabel_desc
struct output_fragment endpad_desc
struct eltorito_boot_entry_info * first_boot_entry
void match_cl_re_entries()
struct output_fragment startpad_desc
EXPORT UInt32_t get_721(void *vp)
EXPORT UInt32_t get_723(void *vp)
EXPORT int generate_xa_rr_attributes(char *whole_name, char *name, struct directory_entry *s_entry, struct stat *statbuf, struct stat *lstatbuf, int deep_opt)
static unsigned __int64 next
unsigned int jpath_blocks
EXPORT void insert_boot_cat()
struct eltorito_boot_entry_info * next
struct directory_entry * jnext
int rr_flags(struct iso_directory_record *idr)
EXPORT void ex_boot_enoent(char *msg, char *pname)
void add_hash(struct hash_table *table, unsigned char *name, int len, unsigned char *pointer)
EXPORT char * findgequal(char *s)
unsigned int rr_attr_size
EXPORT void do_inode(struct directory *dpnt)
struct directory_entry * mxroot
struct output_fragment pathtable_desc
EXPORT void * e_malloc(size_t size)
struct output_fragment jdirtree_desc
EXPORT char * generate_rr_extension_record(char *id, char *descriptor, char *source, int *size)
struct output_fragment files_desc
struct iso_directory_record * merge_isofs(char *path)
unsigned char * rr_attributes
EXPORT int new_boot_entry()
struct output_fragment xvoldesc_desc
int get_session_start(int *file_addr)
GLuint GLuint GLsizei GLenum type
int merge_previous_session(struct directory *this_dir, struct iso_directory_record *mrootp, char *reloc_root, char *reloc_old_root)
EXPORT void conv_charset(unsigned char *to, size_t *tosizep, unsigned char *from, size_t *fromsizep, siconvt_t *inls, siconvt_t *onls)
struct output_fragment * out_tail
int of_size __PR((UInt32_t))
void finish_cl_pl_for_prev_session()
int full_iso9660_filenames
EXPORT void set_723(void *vp, UInt32_t i)
EXPORT void set_733(void *vp, UInt32_t i)
struct output_fragment version_desc
struct eltorito_boot_entry_info * current_boot_entry
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *