"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xorriso/xorrisoburn.h" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.tar.gz

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.

xorrisoburn.h  (xorriso-1.5.2):xorrisoburn.h  (xorriso-1.5.4)
/* Adapter to libisoburn, libisofs and libburn for xorriso, /* Adapter to libisoburn, libisofs and libburn for xorriso,
a command line oriented batch and dialog tool which creates, loads, a command line oriented batch and dialog tool which creates, loads,
manipulates and burns ISO 9660 filesystem images. manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2019 Thomas Schmitt, <scdbackup@gmx.net> Copyright 2007-2021 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later. Provided under GPL version 2 or later.
This file contains the inner isofs- and burn-library interface of xorriso. This file contains the inner isofs- and burn-library interface of xorriso.
*/ */
#ifndef Xorrisoburn_includeD #ifndef Xorrisoburn_includeD
#define Xorrisoburn_includeD yes #define Xorrisoburn_includeD yes
/* The minimum version of libisoburn to be used with this version of xorriso /* The minimum version of libisoburn to be used with this version of xorriso
*/ */
#define xorriso_libisoburn_req_major 1 #define xorriso_libisoburn_req_major 1
#define xorriso_libisoburn_req_minor 5 #define xorriso_libisoburn_req_minor 5
#define xorriso_libisoburn_req_micro 2 #define xorriso_libisoburn_req_micro 4
struct SpotlisT; /* List of intervals with different read qualities */ struct SpotlisT; /* List of intervals with different read qualities */
struct CheckmediajoB; /* Parameters for Xorriso_check_media() */ struct CheckmediajoB; /* Parameters for Xorriso_check_media() */
struct Xorriso_msg_sievE; /* Fishes for info particles in reply messages */ struct Xorriso_msg_sievE; /* Fishes for info particles in reply messages */
int Xorriso_startup_libraries(struct XorrisO *xorriso, int flag); int Xorriso_startup_libraries(struct XorrisO *xorriso, int flag);
/* @param flag bit0= global shutdown of libraries */ /* @param flag bit0= global shutdown of libraries */
int Xorriso_detach_libraries(struct XorrisO *xorriso, int flag); int Xorriso_detach_libraries(struct XorrisO *xorriso, int flag);
int Xorriso_create_empty_iso(struct XorrisO *xorriso, int flag); int Xorriso_create_empty_iso(struct XorrisO *xorriso, int flag);
/* @param flag bit0=aquire as isoburn input drive /* @param flag bit0=acquire as isoburn input drive
bit1=aquire as libburn output drive (as isoburn drive if bit0) bit1=acquire as libburn output drive (as isoburn drive if bit0)
@return <=0 failure , 1=success , 2=neither readable or writeable @return <=0 failure , 1=success , 2=neither readable or writeable
*/ */
int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr, int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
int flag); int flag);
int Xorriso_give_up_drive(struct XorrisO *xorriso, int flag); int Xorriso_give_up_drive(struct XorrisO *xorriso, int flag);
int Xorriso_write_session(struct XorrisO *xorriso, int flag); int Xorriso_write_session(struct XorrisO *xorriso, int flag);
int Xorriso_retry_write_session(struct XorrisO *xorriso, int flag); int Xorriso_retry_write_session(struct XorrisO *xorriso, int flag);
skipping to change at line 169 skipping to change at line 169
bit1= work purely literally, do not use libisofs bit1= work purely literally, do not use libisofs
bit2= (with bit1) this is an address in the disk world bit2= (with bit1) this is an address in the disk world
@return -1 = faulty path format, 0 = not found , @return -1 = faulty path format, 0 = not found ,
1 = found simple node , 2 = found directory 1 = found simple node , 2 = found directory
*/ */
int Xorriso_normalize_img_path(struct XorrisO *xorriso, char *wd, int Xorriso_normalize_img_path(struct XorrisO *xorriso, char *wd,
char *img_path, char eff_path[], int flag); char *img_path, char eff_path[], int flag);
/* @param boss_iter Opaque handle to be forwarded to actions in ISO image /* @param boss_iter Opaque handle to be forwarded to actions in ISO image
Set to NULL if calling this function from outside ISO world Set to NULL if calling this function from outside ISO world
@param flag bit0= silently ignore attempt of renaming to same path
and return 2
*/ */
int Xorriso_rename(struct XorrisO *xorriso, void *boss_iter, int Xorriso_rename(struct XorrisO *xorriso, void *boss_iter,
char *origin, char *dest, int flag); char *origin, char *dest, int flag);
/* @param flag bit0= do not produce info message on success /* @param flag bit0= do not produce info message on success
@return 1=success, 0=was already directory, -1=was other type, -2=bad path @return 1=success, 0=was already directory, -1=was other type, -2=bad path
*/ */
int Xorriso_mkdir(struct XorrisO *xorriso, char *img_path, int flag); int Xorriso_mkdir(struct XorrisO *xorriso, char *img_path, int flag);
/* @param flag bit0= a match count !=1 is a SORRY event */ /* @param flag bit0= a match count !=1 is a SORRY event */
skipping to change at line 331 skipping to change at line 333
/* /*
@param flag bit0= obtain iso_lba from indev @param flag bit0= obtain iso_lba from indev
bit1= head_buffer already contains a valid head bit1= head_buffer already contains a valid head
bit2= issue message about success bit2= issue message about success
bit3= check whether source blocks are banned by in_sector_map bit3= check whether source blocks are banned by in_sector_map
*/ */
int Xorriso_update_iso_lba0(struct XorrisO *xorriso, int iso_lba, int isosize, int Xorriso_update_iso_lba0(struct XorrisO *xorriso, int iso_lba, int isosize,
char *head_buffer, struct CheckmediajoB *job, char *head_buffer, struct CheckmediajoB *job,
int flag); int flag);
int Xorriso_truncate_overwritable(struct XorrisO *xorriso, char *adr_mode,
char *adr_value, char *adjust, int flag);
int Xorriso_get_local_charset(struct XorrisO *xorriso, char **name, int flag); int Xorriso_get_local_charset(struct XorrisO *xorriso, char **name, int flag);
int Xorriso_set_local_charset(struct XorrisO *xorriso, char *name, int flag); int Xorriso_set_local_charset(struct XorrisO *xorriso, char *name, int flag);
int Xorriso_destroy_node_array(struct XorrisO *xorriso, int flag); int Xorriso_destroy_node_array(struct XorrisO *xorriso, int flag);
int Xorriso_destroy_hln_array(struct XorrisO *xorriso, int flag); int Xorriso_destroy_hln_array(struct XorrisO *xorriso, int flag);
int Xorriso_destroy_di_array(struct XorrisO *xorriso, int flag); int Xorriso_destroy_di_array(struct XorrisO *xorriso, int flag);
skipping to change at line 367 skipping to change at line 372
int Xorriso_image_has_md5(struct XorrisO *xorriso, int flag); int Xorriso_image_has_md5(struct XorrisO *xorriso, int flag);
int Xorriso_check_media(struct XorrisO *xorriso, struct SpotlisT **spotlist, int Xorriso_check_media(struct XorrisO *xorriso, struct SpotlisT **spotlist,
struct CheckmediajoB *job, int flag); struct CheckmediajoB *job, int flag);
int Xorriso_extract_cut(struct XorrisO *xorriso, int Xorriso_extract_cut(struct XorrisO *xorriso,
char *img_path, char *disk_path, char *img_path, char *disk_path,
off_t img_offset, off_t bytes, int flag); off_t img_offset, off_t bytes, int flag);
int Xorriso_extract_boot_images(struct XorrisO *xorriso, char *disk_dir_path,
int flag);
int Xorriso_relax_compliance(struct XorrisO *xorriso, char *mode, int Xorriso_relax_compliance(struct XorrisO *xorriso, char *mode,
int flag); int flag);
/* @return 1=ok 2=ok, is default setting */ /* @return 1=ok 2=ok, is default setting */
int Xorriso_get_relax_text(struct XorrisO *xorriso, char mode[1024], int Xorriso_get_relax_text(struct XorrisO *xorriso, char mode[1024],
int flag); int flag);
/** /**
@param flag bit0= print mount command to result channel rather than @param flag bit0= print mount command to result channel rather than
performing it performing it
skipping to change at line 611 skipping to change at line 619
int Xorriso_pretend_full_disc(struct XorrisO *xorriso, int flag); int Xorriso_pretend_full_disc(struct XorrisO *xorriso, int flag);
int Xorriso_scsi_dev_family(struct XorrisO *xorriso, int flag); int Xorriso_scsi_dev_family(struct XorrisO *xorriso, int flag);
int Xorriso_use_immed_bit(struct XorrisO *xorriso, int flag); int Xorriso_use_immed_bit(struct XorrisO *xorriso, int flag);
int Xorriso_apply_sort_file(struct XorrisO *xorriso, char *path, int flag); int Xorriso_apply_sort_file(struct XorrisO *xorriso, char *path, int flag);
int Xorriso_report_system_area(struct XorrisO *xorriso, char *form, int flag); int Xorriso_report_system_area(struct XorrisO *xorriso, char *form, int flag);
int Xorriso_list_boot_images(struct XorrisO *xorriso,
char ***imgs, int *img_count, int flag);
int Xorriso_external_filter_banned(struct XorrisO *xorriso, char *purpose, int Xorriso_external_filter_banned(struct XorrisO *xorriso, char *purpose,
int flag); int flag);
int Xorriso_set_file_name_limit(struct XorrisO *xorriso, int value, int flag); int Xorriso_set_file_name_limit(struct XorrisO *xorriso, int value, int flag);
int Xorriso_truncate_path_comps(struct XorrisO *xorriso, char *path, int Xorriso_truncate_path_comps(struct XorrisO *xorriso, char *path,
char *buffer, char **resultpt, int flag); char *buffer, char **resultpt, int flag);
int Xorriso_graftable_pathspec(struct XorrisO *xorriso, char *in_pathspec, int Xorriso_graftable_pathspec(struct XorrisO *xorriso, char *in_pathspec,
char *pathspec, int flag); char *pathspec, int flag);
skipping to change at line 637 skipping to change at line 648
int Xorriso_parse_type_guid(struct XorrisO *xorriso, char *text, int Xorriso_parse_type_guid(struct XorrisO *xorriso, char *text,
uint8_t guid[16], int *mbr_type, int flag); uint8_t guid[16], int *mbr_type, int flag);
int Xorriso_format_guid(struct XorrisO *xorriso, uint8_t guid[16], char *line, int Xorriso_format_guid(struct XorrisO *xorriso, uint8_t guid[16], char *line,
int flag); int flag);
int Xorriso_make_guid(struct XorrisO *xorriso, char *line, int flag); int Xorriso_make_guid(struct XorrisO *xorriso, char *line, int flag);
int Xorriso_set_libisofs_now(struct XorrisO *xorriso, int flag); int Xorriso_set_libisofs_now(struct XorrisO *xorriso, int flag);
int Xorriso_obtain_indev_readsize(struct XorrisO *xorriso, uint32_t *blocks,
int flag);
#endif /* Xorrisoburn_includeD */ #endif /* Xorrisoburn_includeD */
 End of changes. 8 change blocks. 
4 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)