1 #ifndef _WIMLIB_WRITE_H
2 #define _WIMLIB_WRITE_H
5 #include "wimlib/types.h"
7 /* Internal use only */
8 #define WIMLIB_WRITE_FLAG_NO_LOOKUP_TABLE 0x80000000
9 #define WIMLIB_WRITE_FLAG_CHECKPOINT_AFTER_XML 0x40000000
10 #define WIMLIB_WRITE_FLAG_REUSE_INTEGRITY_TABLE 0x20000000
11 #define WIMLIB_WRITE_FLAG_HEADER_AT_END 0x10000000
12 #define WIMLIB_WRITE_FLAG_FILE_DESCRIPTOR 0x08000000
13 #define WIMLIB_WRITE_FLAG_USE_EXISTING_TOTALBYTES 0x04000000
14 #define WIMLIB_WRITE_FLAG_NO_METADATA 0x02000000
15 #define WIMLIB_WRITE_FLAG_OVERWRITE 0x01000000
16 #define WIMLIB_WRITE_MASK_PUBLIC 0x00ffffff
18 #if defined(HAVE_SYS_FILE_H) && defined(HAVE_FLOCK)
20 lock_wim(WIMStruct *wim, int fd);
23 lock_wim(WIMStruct *wim, int fd)
32 write_wim_part(WIMStruct *wim,
33 const void *path_or_fd,
37 wimlib_progress_func_t progress_func,
40 struct list_head *stream_list_override,
43 #endif /* _WIMLIB_WRITE_H */