X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwimlib_internal.h;h=554d3cc423d717d63796349bd8b2bb66d9455409;hp=193abc5ee220fa2bd31d7bfa1ec5c5c003a4f7da;hb=7acdc3aecd7ce546727ae8239e0d942c2a00db43;hpb=f389abff995f590fd762777e302f99a413521765 diff --git a/src/wimlib_internal.h b/src/wimlib_internal.h index 193abc5e..554d3cc4 100644 --- a/src/wimlib_internal.h +++ b/src/wimlib_internal.h @@ -425,7 +425,7 @@ struct apply_args { WIMStruct *w; const char *target; int extract_flags; - unsigned num_lutimes_warnings; + unsigned num_utime_warnings; struct list_head *stream_list; union wimlib_progress_info progress; #ifdef WITH_NTFS_3G @@ -528,21 +528,6 @@ extern int for_image(WIMStruct *w, int image, int (*visitor)(WIMStruct *)); extern void destroy_image_metadata(struct wim_image_metadata *imd, struct wim_lookup_table *lt); -/* win32.c */ - -#if defined(__CYGWIN__) || defined(__WIN32__) -extern int win32_read_file(const char *filename, void *handle, u64 offset, - size_t size, u8 *buf); -extern void *win32_open_file_readonly(const void *path_utf16); -extern void win32_close_file(void *handle); -#ifdef ENABLE_ERROR_MESSAGES -extern void win32_error(u32 err); -#else -#define win32_error(err) -#endif -#endif - - /* write.c */ /* Internal use only */ @@ -551,6 +536,10 @@ extern void win32_error(u32 err); #define WIMLIB_WRITE_FLAG_CHECKPOINT_AFTER_XML 0x20000000 #define WIMLIB_WRITE_MASK_PUBLIC 0x1fffffff +#define WIMLIB_ADD_IMAGE_FLAG_ROOT 0x80000000 +#define WIMLIB_ADD_IMAGE_FLAG_SOURCE 0x40000000 + + extern int begin_write(WIMStruct *w, const char *path, int write_flags); extern void close_wim_writable(WIMStruct *w);