- * To do this, make @integrity_res_entry point to the resource entry for the
- * older table (note: this is an input-output parameter), and set
- * @old_lookup_table_end to the offset of the byte directly following the last
- * byte checked by the old table. If the old integrity table is invalid or
- * cannot be read, a warning is printed and the integrity information is
- * re-calculated.
- *
- * @fp:
- * FILE * to the WIM file, opened read-write, positioned at the location at
- * which the integrity table is to be written.
- *
- * @integrity_res_entry:
- * Resource entry which will be set to point to the integrity table on
- * success. In addition, if @old_lookup_table_end != 0, this initially
- * must point to the resource entry for the old integrity table for the
- * WIM.
- *
- * @new_lookup_table_end:
- * The offset of the byte directly following the lookup table in the WIM
- * being written.
- *
- * @old_lookup_table_end:
- * If nonzero, the offset of the byte directly following the old lookup
- * table in the WIM.
- *
- * @progress_func
- * If non-NULL, a progress function that will be called after every
- * calculated chunk.
- *
- * Returns:
- * 0 on success, nonzero on failure. The possible error codes are:
- * * WIMLIB_ERR_WRITE: Could not write the integrity table.
- * * WIMLIB_ERR_READ: Could not read a chunk of data that needed
- * to be checked.
+ * To do this, specify old_blob_table_end and old_table.
+ *
+ * @wim:
+ * WIMStruct for the WIM file. @wim->out_fd must be a seekable descriptor
+ * to the new WIM file, opened read-write, positioned at the location at
+ * which the integrity table is to be written. Furthermore,
+ * @wim->hdr.integrity is expected to be a resource entry which will be set
+ * to the integrity table information on success. In addition, if
+ * @old_blob_table_end != 0, @wim->hdr.integrity must initially contain
+ * information about the old integrity table, and @wim->in_fd must be a
+ * seekable descriptor to the original WIM file opened for reading.
+ *
+ * @new_blob_table_end:
+ * The offset of the byte directly following the blob table in the WIM
+ * being written.
+ *
+ * @old_blob_table_end:
+ * If nonzero, the offset of the byte directly following the old blob table
+ * in the WIM.
+ *
+ * @old_table
+ * Pointer to the old integrity table read into memory, or NULL if not
+ * specified.