xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

opts_d_h.c File Reference
#include <ctype.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <time.h>
#include <errno.h>
#include "xorriso.h"
#include "xorriso_private.h"
#include "xorrisoburn.h"
Include dependency graph for opts_d_h.c:

Go to the source code of this file.

Functions

int Xorriso_option_data_cache_size (struct XorrisO *xorriso, char *num_tiles, char *tile_blocks, int flag)
 
int Xorriso_option_dev (struct XorrisO *xorriso, char *in_adr, int flag)
 
int Xorriso_option_devices (struct XorrisO *xorriso, int flag)
 
int Xorriso_option_dialog (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_disk_dev_ino (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_disk_pattern (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_displacement (struct XorrisO *xorriso, char *value, int flag)
 
int Xorriso_option_drive_access (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_drive_class (struct XorrisO *xorriso, char *d_class, char *pattern, int flag)
 
int Xorriso_option_dummy (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_dvd_obs (struct XorrisO *xorriso, char *obs, int flag)
 
int Xorriso_option_early_stdio_test (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_ecma119_map (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_eject (struct XorrisO *xorriso, char *which, int flag)
 
int Xorriso_option_end (struct XorrisO *xorriso, int flag)
 
int Xorriso_option_errfile_log (struct XorrisO *xorriso, char *mode, char *path, int flag)
 
int Xorriso_option_error_behavior (struct XorrisO *xorriso, char *occasion, char *behavior, int flag)
 
int Xorriso_option_external_filter (struct XorrisO *xorriso, int argc, char **argv, int *idx, int flag)
 
int Xorriso_option_extract (struct XorrisO *xorriso, char *iso_path, char *disk_path, int flag)
 
int Xorriso_option_extract_boot_images (struct XorrisO *xorriso, char *disk_dir_path, int flag)
 
int Xorriso_option_extract_cut (struct XorrisO *xorriso, char *iso_rr_path, char *start, char *count, char *disk_path, int flag)
 
int Xorriso_option_file_name_limit (struct XorrisO *xorriso, char *value, int flag)
 
int Xorriso_option_file_size_limit (struct XorrisO *xorriso, int argc, char **argv, int *idx, int flag)
 
static int Xorriso_determine_name_space (struct XorrisO *xorriso, char *space_name, int flag)
 
static int Xorriso_truncate_const_find_name (struct XorrisO *xorriso, char *expr, char *buffer, char **namept, int flag)
 
int Xorriso_option_find (struct XorrisO *xorriso, int argc, char **argv, int *idx, int flag)
 
int Xorriso_option_follow (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_fs (struct XorrisO *xorriso, char *size, int flag)
 
int Xorriso_option_getfacli (struct XorrisO *xorriso, int argc, char **argv, int *idx, int flag)
 
int Xorriso_option_gid (struct XorrisO *xorriso, char *gid, int flag)
 
int Xorriso_option_grow_blindly (struct XorrisO *xorriso, char *msc2, int flag)
 
int Xorriso_option_hardlinks (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_help (struct XorrisO *xorriso, int flag)
 
int Xorriso_option_hfsplus (struct XorrisO *xorriso, char *mode, int flag)
 
int Xorriso_option_hide (struct XorrisO *xorriso, char *hide_state, int argc, char **argv, int *idx, int flag)
 
int Xorriso_option_history (struct XorrisO *xorriso, char *line, int flag)
 

Function Documentation

◆ Xorriso_determine_name_space()

static int Xorriso_determine_name_space ( struct XorrisO xorriso,
char *  space_name,
int  flag 
)
static

Definition at line 775 of file opts_d_h.c.

References XorrisO::info_text.

Referenced by Xorriso_option_find().

◆ Xorriso_option_data_cache_size()

int Xorriso_option_data_cache_size ( struct XorrisO xorriso,
char *  num_tiles,
char *  tile_blocks,
int  flag 
)

◆ Xorriso_option_dev()

int Xorriso_option_dev ( struct XorrisO xorriso,
char *  in_adr,
int  flag 
)
Parameters
flagbit0= use as indev bit1= use as outdev bit2= do not -reassure bit3= regard overwritable media as blank bit4= if the drive is a regular disk file: truncate it to the write start address bit5= do not print toc of acquired drive bit6= do not calm down drive after acquiring it
Returns
<=0 error , 1 success, 2 revoked by -reassure

Definition at line 72 of file opts_d_h.c.

References XorrisO::image_start_mode, XorrisO::in_drive_handle, XorrisO::indev, XorrisO::info_text, XorrisO::out_drive_handle, XorrisO::outdev, Text_shellsafe(), Xorriso_aquire_drive(), Xorriso_change_is_pending(), Xorriso_give_up_drive(), Xorriso_msgs_submit(), and Xorriso_reassure().

Referenced by Xorriso_cdrskin(), Xorriso_close_damaged(), Xorriso_genisofs(), Xorriso_interpreter(), Xorriso_option_commit(), Xorriso_option_commit_eject(), and Xorriso_option_rollback().

◆ Xorriso_option_devices()

◆ Xorriso_option_dialog()

int Xorriso_option_dialog ( struct XorrisO xorriso,
char *  mode,
int  flag 
)

Definition at line 176 of file opts_d_h.c.

References XorrisO::dialog, XorrisO::info_text, and Xorriso_msgs_submit().

Referenced by Xorriso_interpreter().

◆ Xorriso_option_disk_dev_ino()

int Xorriso_option_disk_dev_ino ( struct XorrisO xorriso,
char *  mode,
int  flag 
)

Definition at line 194 of file opts_d_h.c.

References XorrisO::do_aaip, XorrisO::info_text, and Xorriso_msgs_submit().

Referenced by Xorriso_genisofs(), and Xorriso_interpreter().

◆ Xorriso_option_disk_pattern()

int Xorriso_option_disk_pattern ( struct XorrisO xorriso,
char *  mode,
int  flag 
)

Definition at line 212 of file opts_d_h.c.

References XorrisO::do_disk_pattern, XorrisO::info_text, and Xorriso_msgs_submit().

Referenced by Xorriso_interpreter().

◆ Xorriso_option_displacement()

int Xorriso_option_displacement ( struct XorrisO xorriso,
char *  value,
int  flag 
)

◆ Xorriso_option_drive_access()

int Xorriso_option_drive_access ( struct XorrisO xorriso,
char *  mode,
int  flag 
)

◆ Xorriso_option_drive_class()

int Xorriso_option_drive_class ( struct XorrisO xorriso,
char *  d_class,
char *  pattern,
int  flag 
)

◆ Xorriso_option_dummy()

int Xorriso_option_dummy ( struct XorrisO xorriso,
char *  mode,
int  flag 
)

Definition at line 340 of file opts_d_h.c.

References XorrisO::do_dummy.

Referenced by Xorriso_interpreter().

◆ Xorriso_option_dvd_obs()

int Xorriso_option_dvd_obs ( struct XorrisO xorriso,
char *  obs,
int  flag 
)

◆ Xorriso_option_early_stdio_test()

int Xorriso_option_early_stdio_test ( struct XorrisO xorriso,
char *  mode,
int  flag 
)

Definition at line 368 of file opts_d_h.c.

References XorrisO::early_stdio_test, XorrisO::info_text, and Xorriso_msgs_submit().

Referenced by Xorriso_interpreter().

◆ Xorriso_option_ecma119_map()

int Xorriso_option_ecma119_map ( struct XorrisO xorriso,
char *  mode,
int  flag 
)

Definition at line 387 of file opts_d_h.c.

References XorrisO::ecma119_map, XorrisO::info_text, and Xorriso_msgs_submit().

Referenced by Xorriso_interpreter().

◆ Xorriso_option_eject()

int Xorriso_option_eject ( struct XorrisO xorriso,
char *  which,
int  flag 
)

◆ Xorriso_option_end()

int Xorriso_option_end ( struct XorrisO xorriso,
int  flag 
)

◆ Xorriso_option_errfile_log()

int Xorriso_option_errfile_log ( struct XorrisO xorriso,
char *  mode,
char *  path,
int  flag 
)

◆ Xorriso_option_error_behavior()

int Xorriso_option_error_behavior ( struct XorrisO xorriso,
char *  occasion,
char *  behavior,
int  flag 
)

◆ Xorriso_option_external_filter()

int Xorriso_option_external_filter ( struct XorrisO xorriso,
int  argc,
char **  argv,
int *  idx,
int  flag 
)

◆ Xorriso_option_extract()

◆ Xorriso_option_extract_boot_images()

int Xorriso_option_extract_boot_images ( struct XorrisO xorriso,
char *  disk_dir_path,
int  flag 
)

◆ Xorriso_option_extract_cut()

int Xorriso_option_extract_cut ( struct XorrisO xorriso,
char *  iso_rr_path,
char *  start,
char *  count,
char *  disk_path,
int  flag 
)

◆ Xorriso_option_file_name_limit()

int Xorriso_option_file_name_limit ( struct XorrisO xorriso,
char *  value,
int  flag 
)

◆ Xorriso_option_file_size_limit()

int Xorriso_option_file_size_limit ( struct XorrisO xorriso,
int  argc,
char **  argv,
int *  idx,
int  flag 
)

◆ Xorriso_option_find()

int Xorriso_option_find ( struct XorrisO xorriso,
int  argc,
char **  argv,
int *  idx,
int  flag 
)

Definition at line 818 of file opts_d_h.c.

References FindjoB::action, XorrisO::bsl_interpretation, FindjoB::estim_lower_size, FindjoB::estim_upper_size, XorrisO::find_check_md5_result, XorrisO::find_compare_result, Findjob_and(), Findjob_close_bracket(), Findjob_destroy(), Findjob_else(), Findjob_elseif(), Findjob_endif(), Findjob_if(), Findjob_new(), Findjob_not(), Findjob_open_bracket(), Findjob_or(), Findjob_set_aaip_filter(), Findjob_set_acl_filter(), Findjob_set_action_ad(), Findjob_set_action_chgrp(), Findjob_set_action_chmod(), Findjob_set_action_chown(), Findjob_set_action_subjob(), Findjob_set_action_target(), Findjob_set_action_text_2(), Findjob_set_action_type(), Findjob_set_arg1(), Findjob_set_bless_filter(), Findjob_set_commit_filter_2(), Findjob_set_crtp_filter(), Findjob_set_damage_filter(), Findjob_set_false(), Findjob_set_file_type(), Findjob_set_filter_filter(), Findjob_set_lba_range(), Findjob_set_name_expr(), Findjob_set_num_filter(), Findjob_set_prop_filter(), Findjob_set_prune(), Findjob_set_start_path(), Findjob_set_test_hidden(), Findjob_set_xattr_filter(), Findjob_then(), XorrisO::info_text, XorrisO::last_update_time, FindjoB::match_count, XorrisO::pacifier_count, XorrisO::result_line, SfileadrL, FindjoB::start_path, FindjoB::target, Text_shellsafe(), XorrisO::update_flags, XorrisO::wdi, XorrisO::wdx, Xorriso__hide_mode(), Xorriso_alloc_meM, Xorriso_append_extattr_comp(), Xorriso_convert_datestring(), Xorriso_convert_gidstring(), Xorriso_convert_modstring(), Xorriso_convert_uidstring(), Xorriso_determine_name_space(), Xorriso_end_idx(), Xorriso_findi(), Xorriso_findi_sorted(), Xorriso_findx(), Xorriso_free_meM, Xorriso_hfsplus_bless(), Xorriso_hfsplus_file_creator_type(), Xorriso_make_abs_adr(), Xorriso_msgs_submit(), Xorriso_no_findjob(), Xorriso_normalize_acl_text(), Xorriso_pacifier_callback(), Xorriso_pacifier_reset(), Xorriso_path_setfattr(), Xorriso_report_md5_outcome(), Xorriso_result(), and Xorriso_truncate_const_find_name().

Referenced by Xorriso_apply_sort_file(), Xorriso_finish_hl_update(), Xorriso_genisofs(), Xorriso_interpreter(), Xorriso_option_compare(), Xorriso_option_update(), and Xorriso_set_all_file_dates().

◆ Xorriso_option_follow()

◆ Xorriso_option_fs()

int Xorriso_option_fs ( struct XorrisO xorriso,
char *  size,
int  flag 
)

◆ Xorriso_option_getfacli()

int Xorriso_option_getfacli ( struct XorrisO xorriso,
int  argc,
char **  argv,
int *  idx,
int  flag 
)

◆ Xorriso_option_gid()

int Xorriso_option_gid ( struct XorrisO xorriso,
char *  gid,
int  flag 
)

◆ Xorriso_option_grow_blindly()

int Xorriso_option_grow_blindly ( struct XorrisO xorriso,
char *  msc2,
int  flag 
)

Definition at line 1657 of file opts_d_h.c.

References XorrisO::grow_blindly_msc2, and Scanf_io_size().

Referenced by Xorriso_genisofs(), and Xorriso_interpreter().

◆ Xorriso_option_hardlinks()

◆ Xorriso_option_help()

int Xorriso_option_help ( struct XorrisO xorriso,
int  flag 
)

◆ Xorriso_option_hfsplus()

int Xorriso_option_hfsplus ( struct XorrisO xorriso,
char *  mode,
int  flag 
)

Definition at line 2565 of file opts_d_h.c.

References XorrisO::do_hfsplus, XorrisO::info_text, and Xorriso_msgs_submit().

Referenced by Xorriso_interpreter().

◆ Xorriso_option_hide()

int Xorriso_option_hide ( struct XorrisO xorriso,
char *  hide_state,
int  argc,
char **  argv,
int *  idx,
int  flag 
)

◆ Xorriso_option_history()

int Xorriso_option_history ( struct XorrisO xorriso,
char *  line,
int  flag 
)

Definition at line 2621 of file opts_d_h.c.

References Xorriso_dialog_input().

Referenced by Xorriso_interpreter().

◆ Xorriso_truncate_const_find_name()

static int Xorriso_truncate_const_find_name ( struct XorrisO xorriso,
char *  expr,
char *  buffer,
char **  namept,
int  flag 
)
static