X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fwimlib.h;h=6d9eef48dc42a824d08470d605b381fad82a6eae;hb=dff049d44d86598d82bf78d3fdcfedc28db83018;hp=a379a42f73c6b0f7446b2ee9349e8bb5baf2e33e;hpb=f7d48eea9e1a6a9620ee7d8e883a6505939c7777;p=wimlib diff --git a/src/wimlib.h b/src/wimlib.h index a379a42f..6d9eef48 100644 --- a/src/wimlib.h +++ b/src/wimlib.h @@ -322,7 +322,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, @@ -408,6 +407,12 @@ extern int wimlib_add_image(WIMStruct *wim, const char *dir, const char *name, const char *description, const char *flags_element, 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, + int flags); + extern int wimlib_apply_image_to_ntfs_volume(WIMStruct *w, int image, const char *device, int flags);