New pseudo extension isoburn_igopt_will_cancel to avoid MISHAP event

This commit is contained in:
2010-11-24 10:08:56 +00:00
parent 06c84ae7b0
commit da0d20731d
4 changed files with 13 additions and 2 deletions

View File

@ -974,6 +974,12 @@ int isoburn_igopt_get_level(struct isoburn_imgen_opts *o, int *level);
the first session to LBA 32 and do not copy the first 64kB
of the first session to LBA 0, but rather write the first
session to LBA 0 directly.
bit10= will_cancel
@since 0.6.6
Announce to libisofs that only the image size is desired
and that the write thread will be cancelled by
isoburn_cancel_prepared_write() before actual image writing
occurs. Without this, cancellation can cause a MISHAP event.
@return 1 success, <=0 failure
*/
#define isoburn_igopt_rockridge 1
@ -985,6 +991,7 @@ int isoburn_igopt_get_level(struct isoburn_imgen_opts *o, int *level);
#define isoburn_igopt_file_md5 128
#define isoburn_igopt_file_stability 256
#define isoburn_igopt_no_emul_toc 512
#define isoburn_igopt_will_cancel 1024
int isoburn_igopt_set_extensions(struct isoburn_imgen_opts *o, int ext);
int isoburn_igopt_get_extensions(struct isoburn_imgen_opts *o, int *ext);