X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fwimlib.h;h=a0b08c07459f948853e257553837261a36db3431;hb=1dde5fb0d809f2f5e032e4d5241d1cb15ff3eb65;hp=928f2401b9bca5b06d03eaacedc5b57c163265a1;hpb=3c0a7e515447a43531fc864440f0676d319c3c91;p=wimlib diff --git a/src/wimlib.h b/src/wimlib.h index 928f2401..a0b08c07 100644 --- a/src/wimlib.h +++ b/src/wimlib.h @@ -305,6 +305,7 @@ enum wimlib_error_code { 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, @@ -322,7 +323,6 @@ enum wimlib_error_code { WIMLIB_ERR_NOMEM, WIMLIB_ERR_NOTDIR, WIMLIB_ERR_NOT_A_WIM_FILE, - WIMLIB_ERR_NOT_ROOT, WIMLIB_ERR_NO_FILENAME, WIMLIB_ERR_NTFS_3G, WIMLIB_ERR_OPEN, @@ -405,13 +405,13 @@ enum wimlib_error_code { * */ 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, @@ -1122,6 +1122,9 @@ extern int wimlib_set_boot_idx(WIMStruct *wim, int boot_idx); 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. *