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_REUSE_INTEGRITY_TABLE 0x40000000
10 #define WIMLIB_WRITE_FLAG_CHECKPOINT_AFTER_XML 0x20000000
11 #define WIMLIB_WRITE_MASK_PUBLIC 0x1fffffff
14 begin_write(WIMStruct *w, const tchar *path, int write_flags);
17 close_wim_writable(WIMStruct *w);
20 finish_write(WIMStruct *w, int image, int write_flags,
21 wimlib_progress_func_t progress_func);
23 #if defined(HAVE_SYS_FILE_H) && defined(HAVE_FLOCK)
25 lock_wim(WIMStruct *w, int fd);
28 lock_wim(WIMStruct *w, int fd)
34 #endif /* _WIMLIB_WRITE_H */