New inner function isoburn_set_start_byte()
This commit is contained in:
@@ -101,8 +101,8 @@ int isoburn_invalidate_iso(struct isoburn *o, int flag);
|
||||
/* Calls from isofs_wrap.c into burn_wrap.c */
|
||||
|
||||
/** Get an eventual isoburn object which is wrapped around the drive.
|
||||
@param pt Eventually contains a pointer to the found object.
|
||||
Is allowed to contain NULL if return value is -1 or 0.
|
||||
@param pt Eventually returns a pointer to the found object.
|
||||
It is allowed to become NULL if return value is -1 or 0.
|
||||
In this case, the drive is a genuine libburn drive
|
||||
with no emulation activated by isoburn.
|
||||
@param drive The drive to be searched for
|
||||
@@ -112,5 +112,17 @@ int isoburn_invalidate_iso(struct isoburn *o, int flag);
|
||||
int isoburn_find_emulator(struct isoburn **pt,
|
||||
struct burn_drive *drive, int flag);
|
||||
|
||||
|
||||
/** Set the start address for an emulated add-on session. The value will
|
||||
be rounded up to the alignment necessary for the media. The aligned
|
||||
value will be divided by 2048 and then put into o->nwa .
|
||||
@param o The isoburn object to be programmed.
|
||||
@param value The start address in bytes
|
||||
@param flag unused yet
|
||||
@return <=0 is failure , >0 success
|
||||
*/
|
||||
int isoburn_set_start_byte(struct isoburn *o, off_t value, int flag);
|
||||
|
||||
|
||||
#endif /* Isoburn_includeD */
|
||||
|
||||
|
Reference in New Issue
Block a user