New API calls isoburn_igopt_attach_jte() and isoburn_igopt_detach_jte()

This commit is contained in:
2010-09-29 09:16:04 +00:00
parent d5583ce58c
commit 538b70068f
6 changed files with 70 additions and 2 deletions

View File

@ -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 */
/* ----------------------------------------------------------------------- */