WIMLIB_ERR_IMAGE_COUNT,
WIMLIB_ERR_IMAGE_NAME_COLLISION,
WIMLIB_ERR_INTEGRITY,
+ WIMLIB_ERR_INVALID_CAPTURE_CONFIG,
WIMLIB_ERR_INVALID_CHUNK_SIZE,
WIMLIB_ERR_INVALID_COMPRESSION_TYPE,
WIMLIB_ERR_INVALID_DENTRY,
*
*/
extern int wimlib_add_image(WIMStruct *wim, const char *dir,
- const char *name, const char *description,
- const char *flags_element, int flags);
+ const char *name, const char *config,
+ size_t config_len, int flags);
extern int wimlib_add_image_from_ntfs_volume(WIMStruct *w, const char *device,
const char *name,
- const char *description,
- const char *flags_element,
+ const char *config,
+ size_t config_len,
int flags);
extern int wimlib_apply_image_to_ntfs_volume(WIMStruct *w, int image,
extern int wimlib_set_image_descripton(WIMStruct *wim, int image,
const char *description);
+extern int wimlib_set_image_flags(WIMStruct *w, int image,
+ const char *flags);
+
/**
* Changes the name of an image in the WIM.
*