ReactOS 0.4.16-dev-311-g9382aa2
|
#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 a