#define WIMLIB_RESOURCE_FLAG_RAW 0x1
#define WIMLIB_RESOURCE_FLAG_MULTITHREADED 0x2
+#define WIMLIB_RESOURCE_FLAG_RECOMPRESS 0x4
/* The opaque structure exposed to the wimlib API. */
typedef struct WIMStruct {
struct lookup_table *lookup_table,
struct lookup_table_entry **lte_ret);
+extern void show_stream_op_progress(u64 *cur_size, u64 *next_size,
+ u64 total_size, u64 one_percent,
+ unsigned *cur_percent,
+ const struct lookup_table_entry *cur_lte,
+ const char *op);
+
+extern void finish_stream_op_progress(u64 total_size, const char *op);
+
/* wim.c */
extern WIMStruct *new_wim_struct();
extern int select_wim_image(WIMStruct *w, int image);
/* Internal use only */
#define WIMLIB_WRITE_FLAG_NO_LOOKUP_TABLE 0x80000000
#define WIMLIB_WRITE_FLAG_REUSE_INTEGRITY_TABLE 0x40000000
+#define WIMLIB_WRITE_FLAG_CHECKPOINT_AFTER_XML 0x20000000
+#define WIMLIB_WRITE_MASK_PUBLIC 0x1fffffff
+
+/* Internal use only */
+#define WIMLIB_EXTRACT_FLAG_MULTI_IMAGE 0x80000000
+#define WIMLIB_EXTRACT_FLAG_NO_STREAMS 0x40000000
+#define WIMLIB_EXTRACT_MASK_PUBLIC 0x2fffffff
-#define WIMLIB_WRITE_MASK_PUBLIC 0x3fffffff
/* write.c */
extern int begin_write(WIMStruct *w, const char *path, int write_flags);