New flag bit of API call isoburn_drive_aquire() to cause burn_drive_re_assess()
This commit is contained in:
parent
cb31156261
commit
c105b5486b
@ -525,6 +525,7 @@ ex:
|
||||
bit5= ignore ACL from external filesystems
|
||||
bit6= ignore POSIX Extended Attributes from external filesystems
|
||||
bit7= pretend -ROM profile and scan for table of content
|
||||
bit8= re-assess (*drive_infos)[0] rather than aquiring adr
|
||||
*/
|
||||
int isoburn_drive_aquire(struct burn_drive_info *drive_infos[],
|
||||
char *adr, int flag)
|
||||
@ -543,7 +544,10 @@ int isoburn_drive_aquire(struct burn_drive_info *drive_infos[],
|
||||
if(conv_ret<=0)
|
||||
strcpy(libburn_drive_adr, adr);
|
||||
|
||||
ret= burn_drive_scan_and_grab(drive_infos, libburn_drive_adr, flag&1);
|
||||
if(flag & 256)
|
||||
ret= burn_drive_re_assess((*drive_infos)[0].drive, 0);
|
||||
else
|
||||
ret= burn_drive_scan_and_grab(drive_infos, libburn_drive_adr, flag&1);
|
||||
if(ret<=0)
|
||||
goto ex;
|
||||
drive_grabbed= 1;
|
||||
|
@ -433,6 +433,9 @@ int isoburn_drive_scan_and_grab(struct burn_drive_info *drive_infos[],
|
||||
bit6= ignore POSIX Extended Attributes from external
|
||||
filesystems
|
||||
bit7= pretend read-only profile and scan for table of content
|
||||
bit8= re-assess already aquired (*drive_infos)[0] rather
|
||||
than aquiring adr
|
||||
@since 1.1.8
|
||||
@return 1 = success , 0 = drive not found , <0 = other error
|
||||
*/
|
||||
int isoburn_drive_aquire(struct burn_drive_info *drive_infos[],
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.10.05.075024"
|
||||
#define Xorriso_timestamP "2011.10.05.085704"
|
||||
|
Loading…
Reference in New Issue
Block a user