New flag bit of API call isoburn_drive_aquire() to cause burn_drive_re_assess()

This commit is contained in:
Thomas Schmitt 2011-10-05 08:57:39 +00:00
parent 80b0f99366
commit aa2b37aa84
3 changed files with 9 additions and 2 deletions

View File

@ -525,6 +525,7 @@ ex:
bit5= ignore ACL from external filesystems bit5= ignore ACL from external filesystems
bit6= ignore POSIX Extended Attributes from external filesystems bit6= ignore POSIX Extended Attributes from external filesystems
bit7= pretend -ROM profile and scan for table of content 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[], int isoburn_drive_aquire(struct burn_drive_info *drive_infos[],
char *adr, int flag) char *adr, int flag)
@ -543,6 +544,9 @@ int isoburn_drive_aquire(struct burn_drive_info *drive_infos[],
if(conv_ret<=0) if(conv_ret<=0)
strcpy(libburn_drive_adr, adr); strcpy(libburn_drive_adr, adr);
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); ret= burn_drive_scan_and_grab(drive_infos, libburn_drive_adr, flag&1);
if(ret<=0) if(ret<=0)
goto ex; goto ex;

View File

@ -433,6 +433,9 @@ int isoburn_drive_scan_and_grab(struct burn_drive_info *drive_infos[],
bit6= ignore POSIX Extended Attributes from external bit6= ignore POSIX Extended Attributes from external
filesystems filesystems
bit7= pretend read-only profile and scan for table of content 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 @return 1 = success , 0 = drive not found , <0 = other error
*/ */
int isoburn_drive_aquire(struct burn_drive_info *drive_infos[], int isoburn_drive_aquire(struct burn_drive_info *drive_infos[],

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.10.05.075024" #define Xorriso_timestamP "2011.10.05.085704"