]> wimlib.net Git - wimlib/blobdiff - src/wimlib.h
extract/update fixes
[wimlib] / src / wimlib.h
index c4635e89e5470c85b1118d5111fb76aeef8eb917..7cfd493576bc1cee67acdff46dc087005dfa2776 100644 (file)
@@ -1358,11 +1358,6 @@ wimlib_export_image(WIMStruct *src_wim, int src_image,
  *     The 1-based number of the image in @a wim from which the files or
  *     directory trees are to be extracted.  It cannot be ::WIMLIB_ALL_IMAGES.
  *
- * @param default_extract_flags
- *     Default extraction flags; the behavior shall be as if these flags had
- *     been specified in the ::wimlib_extract_command.extract_flags member in
- *     each extraction command, in combination with any flags already present.
- *
  * @param cmds
  *     An array of ::wimlib_extract_command structures that specifies the
  *     extractions to perform.
@@ -1370,6 +1365,11 @@ wimlib_export_image(WIMStruct *src_wim, int src_image,
  * @param num_cmds
  *     Number of commands in the @a cmds array.
  *
+ * @param default_extract_flags
+ *     Default extraction flags; the behavior shall be as if these flags had
+ *     been specified in the ::wimlib_extract_command.extract_flags member in
+ *     each extraction command, in combination with any flags already present.
+ *
  * @param additional_swms
  *     Array of pointers to the ::WIMStruct for each additional part in the
  *     split WIM.  Ignored if @a num_additional_swms is 0.  The pointers do not
@@ -1408,9 +1408,9 @@ wimlib_export_image(WIMStruct *src_wim, int src_image,
 extern int
 wimlib_extract_files(WIMStruct *wim,
                     int image,
-                    int default_extract_flags,
                     const struct wimlib_extract_command *cmds,
                     size_t num_cmds,
+                    int default_extract_flags,
                     WIMStruct **additional_swms,
                     unsigned num_additional_swms,
                     wimlib_progress_func_t progress_func);