ReactOS 0.4.16-dev-847-g386fccd
|
#include <schily/mconfig.h>
#include "mkisofs.h"
#include "rock.h"
#include <schily/errno.h>
#include <schily/time.h>
#include <schily/fcntl.h>
#include <schily/ctype.h>
#include "match.h"
#include <schily/schily.h>
#include <schily/nlsdefs.h>
#include <schily/checkerr.h>
#include <schily/io.h>
#include <schily/getargs.h>
#include "../cdrecord/version.h"
Go to the source code of this file.
Classes | |
struct | rcopts |
struct | mki_option |
Macros | |
#define | dysize(A) (((A)%4)? 365 : (((A)%100) == 0 && ((A)%400)) ? 365 : 366) |
#define | OPTION_COUNT (sizeof mki_options / sizeof (mki_options[0])) |
#define | TRUE 1 |
#define | FALSE 0 |
#define OPTION_COUNT (sizeof mki_options / sizeof (mki_options[0])) |
LOCAL void read_rcfile __PR | ( | (char *appname) | ) |
LOCAL void ldate_error __PR | ( | (char *arg) | ) |
struct directory *get_graft __PR | ( | (char *arg, char *graft_point, size_t glen, char *nodename, size_t nlen, char **short_namep, BOOL do_insert) | ) |
LOCAL int get_boot_image __PR | ( | (char *opt_arg) | ) |
EXPORT char *findgequal __PR | ( | (char *s) | ) |
LOCAL char *get_pnames __PR | ( | (int argc, char *const *argv, int opt, char *pname, int pnsize, FILE *fp) | ) |
LOCAL void hide_reloc_dir __PR | ( | (void) | ) |
Definition at line 3964 of file mkisofs.c.
Referenced by main().
LOCAL int dolegacy | ( | char * | arg, |
void * | valp, | ||
int * | pac, | ||
char *const ** | pav, | ||
const char * | opt | ||
) | const |
Definition at line 3921 of file mkisofs.c.
Referenced by add_directory_hash(), add_file_hash(), add_hash(), assign_file_addresses(), attach_dot_entries(), check_rr_relocation(), convert_to_unicode(), dup_directory_entry(), dup_relocated_dir(), find_or_create_directory(), gen_str_path(), generate_joliet_path_tables(), generate_one_directory(), generate_one_joliet_directory(), generate_path_tables(), generate_reloc_directory(), generate_rr_extension_record(), generate_xa_rr_attributes(), get_boot_entry(), init_boot_catalog(), insert_boot_cat(), insert_file_entry(), joliet_sort_directory(), merge_isofs(), merge_old_directory_into_tree(), outputlist_insert(), read_merging_directory(), set_de_path(), sort_directory(), sort_n_finish(), write_str_dir(), and write_str_file().
Definition at line 3941 of file mkisofs.c.
Referenced by assign_file_addresses(), attach_dot_entries(), dup_directory_entry(), dup_relocated_dir(), find_or_create_directory(), generate_reloc_directory(), insert_boot_cat(), insert_file_entry(), main(), merge_old_directory_into_tree(), merge_remaining_entries(), parse_rr(), read_merging_directory(), read_rcfile(), search_tree_file(), and sort_n_finish().
Definition at line 3659 of file mkisofs.c.
Referenced by get_graft(), and main().
Definition at line 458 of file mkisofs.c.
Definition at line 408 of file mkisofs.c.
Definition at line 495 of file mkisofs.c.
Definition at line 534 of file mkisofs.c.
struct directory * get_graft | ( | char * | arg, |
char * | graft_point, | ||
size_t | glen, | ||
char * | nodename, | ||
size_t | nlen, | ||
char ** | short_namep, | ||
BOOL | do_insert | ||
) |
Definition at line 3690 of file mkisofs.c.
Referenced by main().
Definition at line 425 of file mkisofs.c.
Definition at line 832 of file mkisofs.c.
Definition at line 436 of file mkisofs.c.
Definition at line 447 of file mkisofs.c.
LOCAL char * get_pnames | ( | int | argc, |
char * const * | argv, | ||
int | opt, | ||
char * | pname, | ||
int | pnsize, | ||
FILE * | fp | ||
) |
Definition at line 1969 of file mkisofs.c.
Referenced by main().
Definition at line 914 of file mkisofs.c.
Definition at line 944 of file mkisofs.c.
Definition at line 973 of file mkisofs.c.
Definition at line 1868 of file mkisofs.c.
Referenced by attach_dot_entries(), check_rr_dates(), dup_relocated_dir(), find_or_create_directory(), generate_reloc_directory(), generate_xa_rr_attributes(), insert_boot_cat(), insert_file_entry(), jroot_gen(), root_gen(), sort_n_finish(), and write_str_dir().
Definition at line 1907 of file mkisofs.c.
Referenced by generate_xa_rr_attributes(), and pvd_write().
Definition at line 691 of file mkisofs.c.
Referenced by get_ldate(), and parse_date().
Definition at line 2010 of file mkisofs.c.
Definition at line 728 of file mkisofs.c.
Referenced by parse_date().
Definition at line 1691 of file mkisofs.c.
Referenced by printopts().
Definition at line 3955 of file mkisofs.c.
Referenced by get_graft().
Definition at line 739 of file mkisofs.c.
Referenced by get_ldate().
Definition at line 1489 of file mkisofs.c.
Referenced by main().
Definition at line 698 of file mkisofs.c.
Referenced by get_ldate(), and parse_date().
Definition at line 1794 of file mkisofs.c.
int all_files = 1 |
Definition at line 132 of file mkisofs.c.
Referenced by AVIBuildFilterW(), NOTEPAD_InitData(), and scan_directory_tree().
int allow_leading_dots = 0 |
Definition at line 251 of file mkisofs.c.
Referenced by getL(), iso9660_file_length(), and main().
int allow_lowercase = 0 |
Definition at line 247 of file mkisofs.c.
Referenced by iso9660_file_length(), and main().
int allow_multidot = 0 |
Definition at line 249 of file mkisofs.c.
Referenced by iso9660_file_length(), and main().
char* appid = APPID_DEFAULT |
Definition at line 161 of file mkisofs.c.
Referenced by ACTION_RegisterClassInfo(), free_package_structures(), get_condition_code(), IDirectPlayLobby2AImpl_GetConnectionSettings(), IDirectPlayLobby2AImpl_ReceiveLobbyMessage(), IDirectPlayLobby2AImpl_RunApplication(), IDirectPlayLobby2AImpl_SendLobbyMessage(), IDirectPlayLobby2AImpl_SetConnectionSettings(), IDirectPlayLobby2AImpl_SetLobbyMessageEvent(), IDirectPlayLobby2Impl_GetConnectionSettings(), IDirectPlayLobby2Impl_ReceiveLobbyMessage(), IDirectPlayLobby2Impl_RunApplication(), IDirectPlayLobby2Impl_SendLobbyMessage(), IDirectPlayLobby2Impl_SetConnectionSettings(), IDirectPlayLobby2Impl_SetLobbyMessageEvent(), IDirectPlayLobbyAImpl_GetConnectionSettings(), IDirectPlayLobbyAImpl_ReceiveLobbyMessage(), IDirectPlayLobbyAImpl_RunApplication(), IDirectPlayLobbyAImpl_SendLobbyMessage(), IDirectPlayLobbyAImpl_SetConnectionSettings(), IDirectPlayLobbyAImpl_SetLobbyMessageEvent(), IDirectPlayLobbyImpl_GetConnectionSettings(), IDirectPlayLobbyImpl_ReceiveLobbyMessage(), IDirectPlayLobbyImpl_RunApplication(), IDirectPlayLobbyImpl_SendLobbyMessage(), IDirectPlayLobbyImpl_SetConnectionSettings(), IDirectPlayLobbyImpl_SetLobbyMessageEvent(), load_appid(), load_given_appid(), main(), mcs_recv(), pvd_write(), register_appid(), START_TEST(), test_GetCurrentProcessExplicitAppUserModelID(), test_imagelayout(), test_onevalue_cap(), test_physical(), test_resolution(), test_single_source(), test_sources(), and test_supported_sizes().
dev_t archive_dev |
Definition at line 94 of file mkisofs.c.
Referenced by checkarch().
ino_t archive_ino |
Definition at line 95 of file mkisofs.c.
Referenced by checkarch().
BOOL archive_isreg |
Definition at line 93 of file mkisofs.c.
Referenced by checkarch(), and insert_file_entry().
char* biblio = BIBLIO_DEFAULT |
Definition at line 163 of file mkisofs.c.
Referenced by main(), and pvd_write().
char* boot_catalog |
Definition at line 168 of file mkisofs.c.
Referenced by get_torito_desc(), init_boot_catalog(), insert_boot_cat(), and main().
char* boot_image = BOOT_IMAGE_DEFAULT |
Definition at line 169 of file mkisofs.c.
Referenced by get_boot_image(), and tvd_write().
int boot_info_table = 0 |
Definition at line 106 of file mkisofs.c.
Referenced by get_boot_table().
int cache_inodes = -1 |
Definition at line 141 of file mkisofs.c.
Referenced by add_directory_hash(), add_hash(), do_inode(), find_directory_hash(), find_hash(), and main().
|
extern |
Definition at line 1748 of file multi.c.
Referenced by get_session_start(), and main().
int check_oldnames = 0 |
Definition at line 98 of file mkisofs.c.
Referenced by main(), and read_merging_directory().
int check_session = 0 |
Definition at line 99 of file mkisofs.c.
Referenced by get_session_start(), and main().
char* copyright = COPYRIGHT_DEFAULT |
Definition at line 324 of file mkisofs.c.
Referenced by compute_linkcount(), do_inode(), main(), merge_isofs(), and vers_write().
struct eltorito_boot_entry_info* current_boot_entry = NULL |
Definition at line 228 of file mkisofs.c.
Referenced by get_boot_addr(), get_boot_entry(), get_boot_image(), get_boot_platid(), get_boot_size(), get_boot_table(), get_hd_boot(), get_ne_boot(), get_no_boot(), get_torito_desc(), and new_boot_entry().
int debug = 0 |
Definition at line 129 of file mkisofs.c.
Referenced by escstrcpy(), and get_graft().
int dirmode_to_use = 0 |
Definition at line 151 of file mkisofs.c.
Referenced by main(), and stat_fix().
|
static |
int do_largefiles = 0 |
Definition at line 240 of file mkisofs.c.
Referenced by insert_file_entry(), and main().
int donotwrite_macpart = 1 |
Definition at line 298 of file mkisofs.c.
Referenced by file_gen(), file_write(), main(), and write_files().
int dopad = 1 |
Definition at line 154 of file mkisofs.c.
Referenced by main(), and size_str_file().
Definition at line 90 of file mkisofs.c.
Referenced by exten_write(), and main().
UInt32_t extension_record_extent = 0 |
Definition at line 91 of file mkisofs.c.
Referenced by ext_size().
int extension_record_size = 0 |
Definition at line 92 of file mkisofs.c.
Referenced by ext_size(), and main().
int filemode_to_use = 0 |
Definition at line 150 of file mkisofs.c.
Referenced by main(), and stat_fix().
struct eltorito_boot_entry_info* first_boot_entry = NULL |
Definition at line 226 of file mkisofs.c.
Referenced by get_boot_entry(), get_torito_desc(), and init_boot_catalog().
Definition at line 134 of file mkisofs.c.
Referenced by get_graft(), getH(), getL(), getP(), insert_file_entry(), and main().
int full_iso9660_filenames = 0 |
Definition at line 244 of file mkisofs.c.
Referenced by iso9660_file_length(), main(), and sort_n_finish().
char* genboot_image = BOOT_IMAGE_DEFAULT |
Definition at line 170 of file mkisofs.c.
Referenced by genboot_write(), main(), and sunlabel_write().
int generate_tables = 0 |
Definition at line 153 of file mkisofs.c.
Referenced by insert_boot_cat(), insert_file_entry(), main(), scan_directory_tree(), and sort_n_finish().
gid_t gid_to_use = 0 |
Definition at line 149 of file mkisofs.c.
Referenced by init_fstatbuf(), main(), and stat_fix().
Definition at line 999 of file mkisofs.c.
Referenced by dolegacy(), and main().
int gui = 0 |
Definition at line 130 of file mkisofs.c.
Referenced by GetMainThreadFocus(), and write_one_file().
int hard_disk_boot = 0 |
Definition at line 101 of file mkisofs.c.
Referenced by get_hd_boot().
int hide_rr_moved |
Definition at line 233 of file mkisofs.c.
Referenced by generate_reloc_directory().
Definition at line 332 of file mkisofs.c.
Referenced by generate_joliet_path_tables(), generate_one_joliet_directory(), generate_xa_rr_attributes(), get_joliet_vol_desc(), iso9660_file_length(), joliet_compare_dirs(), joliet_compare_paths(), joliet_sort_n_finish(), and main().
int iso9660_level = 1 |
Definition at line 242 of file mkisofs.c.
Referenced by iso9660_file_length(), main(), and sort_n_finish().
int iso9660_namelen = LEN_ISONAME |
Definition at line 243 of file mkisofs.c.
Referenced by iso9660_file_length(), main(), and sort_n_finish().
int iso_translate = 1 |
Definition at line 250 of file mkisofs.c.
Referenced by iso9660_file_length(), and main().
int jhide_trans_tbl |
Definition at line 232 of file mkisofs.c.
Referenced by sort_n_finish().
Definition at line 114 of file mkisofs.c.
Referenced by generate_joliet_path_tables(), generate_one_joliet_directory(), joliet_compare_dirs(), joliet_sort_n_finish(), and main().
Definition at line 85 of file mkisofs.c.
Referenced by generate_joliet_path_tables(), jpathtab_size(), jpathtab_write(), and main().
Definition at line 84 of file mkisofs.c.
Referenced by get_joliet_vol_desc(), and jpathtab_size().
Definition at line 1634 of file mkisofs.c.
Referenced by generate_joliet_path_tables(), and jpathtab_write().
Definition at line 1635 of file mkisofs.c.
Referenced by generate_joliet_path_tables(), and jpathtab_write().
Definition at line 83 of file mkisofs.c.
Referenced by generate_joliet_path_tables(), get_joliet_vol_desc(), joliet_sort_n_finish(), and main().
struct iso_directory_record jroot_record |
Definition at line 88 of file mkisofs.c.
Referenced by get_joliet_vol_desc(), and jroot_gen().
struct eltorito_boot_entry_info* last_boot_entry = NULL |
Definition at line 227 of file mkisofs.c.
Referenced by get_boot_entry().
UInt32_t last_extent = 0 |
Definition at line 76 of file mkisofs.c.
Referenced by assign_directory_addresses(), assign_file_addresses(), assign_inodes(), assign_joliet_directory_addresses(), do_inode(), endpad_size(), ext_size(), file_gen(), file_write(), genboot_size(), get_session_start(), interpad_size(), jpathtab_size(), main(), make_sun_label(), make_sunx86_label(), oneblock_size(), pathtab_size(), pvd_write(), size_str_dir(), size_str_file(), size_str_path(), startpad_size(), sunlabel_size(), and write_one_file().
Definition at line 131 of file mkisofs.c.
Referenced by dolegacy(), get_runtime_info(), getH(), getL(), getP(), and parse_startup().
int load_addr = 0 |
Definition at line 104 of file mkisofs.c.
Referenced by elf_enum_modules_translate(), elf_load_cb(), get_boot_addr(), image_uses_split_segs(), macho_fetch_file_info(), macho_load_file(), and macho_search_and_load_file().
int load_size = 0 |
Definition at line 105 of file mkisofs.c.
Referenced by get_boot_size().
Definition at line 326 of file mkisofs.c.
Referenced by generate_xa_rr_attributes().
int match_igncase |
Definition at line 231 of file mkisofs.c.
Referenced by gen_matches().
Definition at line 241 of file mkisofs.c.
Referenced by insert_file_entry(), and main().
LOCAL const struct mki_option mki_options[] |
ldate modification_date |
Definition at line 197 of file mkisofs.c.
Referenced by main(), and pvd_write().
int new_dir_mode = 0555 |
Definition at line 152 of file mkisofs.c.
Referenced by attach_dot_entries(), find_or_create_directory(), and main().
UInt32_t next_extent = 0 |
Definition at line 75 of file mkisofs.c.
Referenced by file_write().
int no_emul_boot = 0 |
Definition at line 103 of file mkisofs.c.
Referenced by get_ne_boot().
int no_rr = 0 |
Definition at line 237 of file mkisofs.c.
Referenced by main(), parse_xa(), read_merging_directory(), and valid_iso_directory().
Definition at line 202 of file mkisofs.c.
Referenced by main(), and scan_directory_tree().
int nolimitpathtables = 0 |
Definition at line 245 of file mkisofs.c.
Referenced by generate_joliet_path_tables(), and generate_path_tables().
int not_bootable = 0 |
Definition at line 102 of file mkisofs.c.
Referenced by get_no_boot().
UInt32_t null_inodes = NULL_INO_MAX |
Definition at line 323 of file mkisofs.c.
Referenced by assign_inodes(), compute_linkcount(), do_inode(), and read_merging_directory().
int omit_period = 0 |
Definition at line 234 of file mkisofs.c.
Referenced by iso9660_file_length(), and main().
int omit_version_number = 0 |
Definition at line 236 of file mkisofs.c.
Referenced by iso9660_file_length(), main(), and sort_n_finish().
int osecsize = 0 |
Definition at line 333 of file mkisofs.c.
Referenced by generate_xa_rr_attributes(), iso9660_file_length(), and main().
Definition at line 80 of file mkisofs.c.
Referenced by generate_path_tables(), main(), pathtab_size(), and pathtab_write().
int path_ind |
Definition at line 69 of file mkisofs.c.
Referenced by main(), and vers_write().
Definition at line 79 of file mkisofs.c.
Referenced by pathtab_size(), pvd_write(), and size_str_path().
Definition at line 1631 of file mkisofs.c.
Referenced by generate_path_tables(), pathtab_write(), and write_str_path().
Definition at line 1632 of file mkisofs.c.
Referenced by generate_path_tables(), pathtab_write(), and write_str_path().
Definition at line 78 of file mkisofs.c.
Referenced by file_write(), generate_path_tables(), main(), pvd_write(), and sort_n_finish().
char* preparer = PREPARER_DEFAULT |
Definition at line 159 of file mkisofs.c.
Referenced by main(), and pvd_write().
char* publisher = PUBLISHER_DEFAULT |
Definition at line 160 of file mkisofs.c.
Referenced by get_torito_desc(), getP(), main(), and pvd_write().
int rationalize = 0 |
Definition at line 143 of file mkisofs.c.
Referenced by lstat_filter(), main(), and stat_filter().
int rationalize_dirmode = 0 |
Definition at line 147 of file mkisofs.c.
Referenced by main(), and stat_fix().
int rationalize_filemode = 0 |
Definition at line 146 of file mkisofs.c.
Referenced by main(), and stat_fix().
int rationalize_gid = 0 |
Definition at line 145 of file mkisofs.c.
Referenced by init_fstatbuf(), main(), and stat_fix().
int rationalize_uid = 0 |
Definition at line 144 of file mkisofs.c.
Referenced by init_fstatbuf(), main(), and stat_fix().
int relaxed_filenames = 0 |
Definition at line 246 of file mkisofs.c.
Referenced by iso9660_file_length(), and main().
Definition at line 178 of file mkisofs.c.
Referenced by main(), and merge_previous_session().
Definition at line 177 of file mkisofs.c.
Referenced by get_graft(), look_for_roots(), main(), merge_previous_session(), and write_btrfs().
Definition at line 68 of file mkisofs.c.
Referenced by get_graft(), and main().
struct iso_directory_record root_record |
Definition at line 87 of file mkisofs.c.
Referenced by pvd_write(), and root_gen().
Uint RR_relocation_depth = 6 |
Definition at line 239 of file mkisofs.c.
Referenced by dir_nesting_warn(), find_or_create_directory(), insert_file_entry(), and main().
Definition at line 325 of file mkisofs.c.
Referenced by generate_xa_rr_attributes(), main(), merge_isofs(), and update_inode().
Definition at line 1043 of file mkisofs.c.
Referenced by get_pnames(), and main().
UInt32_t session_start = 0 |
Definition at line 77 of file mkisofs.c.
Referenced by file_write(), fill_boot_desc(), genboot_size(), genboot_write(), generate_iso9660_directories(), generate_joliet_directories(), get_session_start(), main(), pvd_write(), startpad_size(), startpad_write(), sunboot_write(), and sunlabel_size().
int split_SL_component = 1 |
Definition at line 257 of file mkisofs.c.
Referenced by generate_xa_rr_attributes().
int split_SL_field = 1 |
Definition at line 258 of file mkisofs.c.
Referenced by generate_xa_rr_attributes().
char* stream_filename |
Definition at line 261 of file mkisofs.c.
Referenced by main(), and write_str_dir().
int stream_media_size = 0 |
Definition at line 260 of file mkisofs.c.
Referenced by main(), and size_str_file().
char* system_id = SYSTEM_ID_DEFAULT |
char* trans_tbl |
Definition at line 259 of file mkisofs.c.
Referenced by assign_file_addresses(), main(), merge_remaining_entries(), read_merging_directory(), scan_directory_tree(), and sort_n_finish().
int transparent_compression = 0 |
Definition at line 235 of file mkisofs.c.
Referenced by generate_xa_rr_attributes(), and main().
Definition at line 306 of file write.c.
Referenced by main(), and pvd_write().
int ucs_level = 3 |
Definition at line 171 of file mkisofs.c.
Referenced by get_joliet_vol_desc(), and main().
char* uid_str |
Definition at line 193 of file mkisofs.c.
Referenced by main(), and test_QueryPathOfRegTypeLib().
uid_t uid_to_use = 0 |
Definition at line 148 of file mkisofs.c.
Referenced by init_fstatbuf(), main(), and stat_fix().
int use_eltorito = 0 |
Definition at line 100 of file mkisofs.c.
Referenced by get_boot_addr(), get_boot_image(), get_boot_platid(), get_boot_size(), get_boot_table(), get_hd_boot(), get_ne_boot(), get_no_boot(), and main().
int use_fileversion = 0 |
Definition at line 255 of file mkisofs.c.
Referenced by iso9660_file_length().
int use_graft_ptrs |
Definition at line 230 of file mkisofs.c.
Referenced by get_graft(), graftcp(), and main().
int use_Joliet = 0 |
Definition at line 113 of file mkisofs.c.
Referenced by convert_to_unicode(), and main().
int use_RockRidge = 0 |
Definition at line 110 of file mkisofs.c.
Referenced by assign_inodes(), attach_dot_entries(), compare_dirs(), dirtree_fixup(), do_dir_nlink(), do_inode(), dup_relocated_dir(), find_or_create_directory(), generate_reloc_directory(), generate_xa_rr_attributes(), insert_boot_cat(), insert_file_entry(), main(), and sort_n_finish().
int use_sparcboot = 0 |
Definition at line 107 of file mkisofs.c.
Referenced by main(), scan_sparc_boot(), and scan_sunx86_boot().
int use_sunx86boot = 0 |
Definition at line 108 of file mkisofs.c.
Referenced by main(), scan_sparc_boot(), scan_sunx86_boot(), sunboot_write(), and sunlabel_write().
int use_XA = 0 |
Definition at line 111 of file mkisofs.c.
Referenced by attach_dot_entries(), dup_relocated_dir(), find_or_create_directory(), generate_reloc_directory(), generate_xa_rr_attributes(), insert_boot_cat(), insert_file_entry(), main(), pvd_write(), and sort_n_finish().
int verbose = 1 |
Definition at line 128 of file mkisofs.c.
Referenced by insert_file_entry(), main(), read_rcfile(), scan_directory_tree(), and sort_n_finish().
Definition at line 71 of file mkisofs.c.
Referenced by check_version(), load_wine_gecko_v(), main(), and vers_write().
char* abstract char* volset_id = VOLSET_ID_DEFAULT |
Definition at line 165 of file mkisofs.c.
Referenced by main(), and pvd_write().
char* volume_id = VOLUME_ID_DEFAULT |
int volume_sequence_number = 1 |
Definition at line 173 of file mkisofs.c.
Referenced by attach_dot_entries(), dup_relocated_dir(), find_or_create_directory(), generate_reloc_directory(), insert_boot_cat(), insert_file_entry(), jroot_gen(), main(), pvd_write(), root_gen(), sort_n_finish(), and write_str_dir().
int volume_set_size = 1 |
Definition at line 172 of file mkisofs.c.
Referenced by main(), and pvd_write().