xorrisoburn.h (libisoburn-1.5.0) | : | xorrisoburn.h (libisoburn-1.5.2) | ||
---|---|---|---|---|
/* 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-2018 Thomas Schmitt, <scdbackup@gmx.net> | Copyright 2007-2019 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 0 | #define xorriso_libisoburn_req_micro 2 | |||
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); | |||
skipping to change at line 148 | skipping to change at line 148 | |||
/* This function needs less buffer memory than Xorriso_ls_filev() but cannot | /* This function needs less buffer memory than Xorriso_ls_filev() but cannot | |||
perform structured pattern matching. | perform structured pattern matching. | |||
@param flag bit0= long format | @param flag bit0= long format | |||
bit1= only check for directory existence | bit1= only check for directory existence | |||
bit2= do not apply search pattern but accept any file | bit2= do not apply search pattern but accept any file | |||
bit3= just count nodes and return number | bit3= just count nodes and return number | |||
*/ | */ | |||
int Xorriso_ls(struct XorrisO *xorriso, int flag); | int Xorriso_ls(struct XorrisO *xorriso, int flag); | |||
/* | ||||
@return: <=0 = error, 1= directory tree, 2= path leads to non-directory | ||||
*/ | ||||
int Xorriso_get_dus(struct XorrisO *xorriso, char *iso_rr_path, off_t *size, | ||||
off_t boss_mem, int flag); | ||||
/* @param wd Path to prepend in case img_path is not absolute | /* @param wd Path to prepend in case img_path is not absolute | |||
@param img_path Absolute or relative path to be normalized | @param img_path Absolute or relative path to be normalized | |||
@param eff_path returns resulting effective path. | @param eff_path returns resulting effective path. | |||
Must provide at least SfileadrL bytes of storage. | Must provide at least SfileadrL bytes of storage. | |||
@param flag bit0= do not produce problem events (unless faulty path format) | @param flag bit0= do not produce problem events (unless faulty path format) | |||
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 | |||
*/ | */ | |||
skipping to change at line 616 | skipping to change at line 622 | |||
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); | |||
int Xorriso_parse_guid(struct XorrisO *xorriso, char *text, | ||||
uint8_t guid[16], int flag); | ||||
int Xorriso_parse_gpt_guid(struct XorrisO *xorriso, char *text, int flag); | int Xorriso_parse_gpt_guid(struct XorrisO *xorriso, char *text, int flag); | |||
int Xorriso_parse_type_guid(struct XorrisO *xorriso, char *text, | ||||
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); | ||||
#endif /* Xorrisoburn_includeD */ | #endif /* Xorrisoburn_includeD */ | |||
End of changes. 6 change blocks. | ||||
2 lines changed or deleted | 16 lines changed or added |