New option -extract_cut

This commit is contained in:
2008-09-02 16:48:59 +00:00
parent 33427c7bdb
commit 34a76c8eea
5 changed files with 270 additions and 14 deletions

View File

@ -310,6 +310,8 @@ struct CheckmediajoB {
char data_to_path[SfileadrL];
int data_to_fd;
off_t data_to_offset; /* usually 0 with image copy, negative with file copy */
off_t data_to_limit; /* used with file copy */
int patch_lba0;
int patch_lba0_msc1;
@ -332,6 +334,9 @@ struct CheckmediajoB {
int Xorriso_check_media(struct XorrisO *xorriso, struct SpotlisT **spotlist,
struct CheckmediajoB *job, int flag);
int Xorriso_extract_cut(struct XorrisO *xorriso,
char *img_path, char *disk_path,
off_t img_offset, off_t bytes, int flag);
#endif /* Xorrisoburn_includeD */