New API calls isoburn_igopt_attach_jte() and isoburn_igopt_detach_jte()
This commit is contained in:
@ -1295,6 +1295,37 @@ int isoburn_igopt_get_pvd_times(struct isoburn_imgen_opts *opts,
|
||||
char uuid[17]);
|
||||
|
||||
|
||||
/** Associate a libjte environment object to the upcomming write run.
|
||||
libjte implements Jigdo Template Extraction as of Steve McIntyre and
|
||||
Richard Atterer.
|
||||
A non-NULL libjte_handle will cause failure to write if libjte was not
|
||||
enabled in libisofs at compile time.
|
||||
@since 0.6.4
|
||||
@param opts
|
||||
The option set to work on
|
||||
@param libjte_handle
|
||||
Pointer to a struct libjte_env e.g. created by libjte_new().
|
||||
It must stay existent from the start of image writing by
|
||||
isoburn_prepare_*() until the write thread has ended.
|
||||
E.g. until libburn indicates the end of its write run.
|
||||
@return 1 success, <=0 failure
|
||||
*/
|
||||
int isoburn_igopt_attach_jte(struct isoburn_imgen_opts *opts,
|
||||
void *libjte_handle);
|
||||
|
||||
/** Remove eventual association to a libjte environment handle.
|
||||
@since 0.6.4
|
||||
@param opts
|
||||
The option set to work on
|
||||
@param libjte_handle
|
||||
If not submitted as NULL, this will return the previously set
|
||||
libjte handle.
|
||||
@return 1 success, <=0 failure
|
||||
*/
|
||||
int isoburn_igopt_detach_jte(struct isoburn_imgen_opts *opts,
|
||||
void **libjte_handle);
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* End of Options for image generation */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user