]> wimlib.net Git - wimlib/blobdiff - include/wimlib/wim.h
Stream and blob updates
[wimlib] / include / wimlib / wim.h
index f02bf8c72966dc5d0041f60f95d6bd65d1d15171..0f77aabc7a00fd572ae25bc8e5dca08969b4b850 100644 (file)
@@ -12,7 +12,7 @@
 
 struct wim_image_metadata;
 struct wim_info;
-struct wim_lookup_table;
+struct blob_table;
 
 /*
  * WIMStruct - represents a WIM, or a part of a non-standalone WIM
@@ -57,11 +57,11 @@ struct WIMStruct {
         * also maintained for a WIMStruct not backed by a file.  */
        struct wim_info *wim_info;
 
-       /* The lookup table for this WIMStruct.  If this WIMStruct has a backing
-        * file, then this table will index the streams contained in that file.
-        * In addition, this table may index streams that were added by updates
-        * or referenced from other WIMStructs.  */
-       struct wim_lookup_table *lookup_table;
+       /* The blob table for this WIMStruct.  If this WIMStruct has a backing
+        * file, then this table will index the blobs contained in that file.
+        * In addition, this table may index blobs that were added by updates or
+        * referenced from other WIMStructs.  */
+       struct blob_table *blob_table;
 
        /*
         * The 1-based index of the currently selected image in this WIMStruct,
@@ -94,7 +94,7 @@ struct WIMStruct {
         * decompressor can be used for all data --- and that decompressor will
         * be cached here.  However, if we do encounter any data with a
         * different compression type or chunk size (this is possible in solid
-        * blocks), then this cached decompressor will be replaced with a new
+        * resources), then this cached decompressor will be replaced with a new
         * one.
         */
        struct wimlib_decompressor *decompressor;
@@ -204,11 +204,14 @@ write_wim_header_flags(u32 hdr_flags, struct filedes *out_fd);
 extern int
 select_wim_image(WIMStruct *wim, int image);
 
+extern void
+deselect_current_wim_image(WIMStruct *wim);
+
 extern int
 for_image(WIMStruct *wim, int image, int (*visitor)(WIMStruct *));
 
 extern int
-wim_checksum_unhashed_streams(WIMStruct *wim);
+wim_checksum_unhashed_blobs(WIMStruct *wim);
 
 extern int
 delete_wim_image(WIMStruct *wim, int image);