Implemented first use of API-experimental burn_drive_info_forget() in cdrskin signal handler

This commit is contained in:
2006-09-07 11:55:00 +00:00
parent 085d025bd4
commit fcaba35881
2 changed files with 85 additions and 16 deletions

View File

@ -552,12 +552,13 @@ int burn_drive_scan(struct burn_drive_info *drive_infos[],
@param drive_info pointer to a single element out of the array
obtained from burn_drive_scan() : &(drive_infos[driveno])
@param force controls degree of permissible drive usage at the moment this
function is called and amount of automatically provided drive
shutdown :
function is called, and the amount of automatically provided
drive shutdown :
0= drive must be ungrabbed and BURN_DRIVE_IDLE
1= try to release drive resp. accept BURN_DRIVE_GRABBING
Use these two only. Further values are to be defined.
@return 1 on success, <=0 on failure
@return 1 on success, 2 if drive was already forgotten,
0 if not permissible, <0 on other failures,
*/
int burn_drive_info_forget(struct burn_drive_info *drive_info, int force);