]> wimlib.net Git - wimlib/blobdiff - include/wimlib.h
Support committing changed mounted WIM image as new image
[wimlib] / include / wimlib.h
index 22b6b0d307e917210e0517b9bde52c34d3d110e0..22df79c5d768da82c9c229930b6f3a32d2ff3ba5 100644 (file)
@@ -1628,6 +1628,11 @@ typedef int (*wimlib_iterate_lookup_table_callback_t)(const struct wimlib_resour
 /** Do a "lazy" unmount (detach filesystem immediately, even if busy).  */
 #define WIMLIB_UNMOUNT_FLAG_LAZY                       0x00000010
 
+/** In combination with ::WIMLIB_UNMOUNT_FLAG_COMMIT for a read-write mounted
+ * image, causes the modified image to be committed as a new, unnamed image
+ * appended to the archive.  The original image will be unmodified.  */
+#define WIMLIB_UNMOUNT_FLAG_NEW_IMAGE                  0x00000020
+
 /** @} */
 /** @ingroup G_modifying_wims
  * @{ */