1 #ifndef _WIMLIB_WIN32_H
2 #define _WIMLIB_WIN32_H
4 #include "wimlib_internal.h"
9 win32_build_dentry_tree(struct wim_dentry **root_ret,
10 const tchar *root_disk_path,
11 struct wim_lookup_table *lookup_table,
12 struct wim_inode_table *inode_table,
14 const struct wimlib_capture_config *config,
16 wimlib_progress_func_t progress_func,
20 win32_read_file(const tchar *filename, HANDLE handle,
21 u64 offset, size_t size, void *buf);
24 read_win32_file_prefix(const struct lookup_table_entry *lte,
26 consume_data_callback_t cb,
32 #define FNM_PATHNAME 0x1
33 #define FNM_NOESCAPE 0x2
36 fnmatch(const tchar *pattern, const tchar *string, int flags);
39 win32_do_apply_dentry(const tchar *output_path,
40 size_t output_path_nbytes,
41 struct wim_dentry *dentry,
42 struct apply_args *args);
45 win32_do_apply_dentry_timestamps(const tchar *output_path,
46 size_t output_path_nbytes,
47 const struct wim_dentry *dentry,
48 const struct apply_args *args);
54 win32_get_number_of_processors();
57 realpath(const tchar *path, tchar *resolved_path);
64 win32_rename_replacement(const tchar *oldpath, const tchar *newpath);
67 win32_truncate_replacement(const tchar *path, off_t size);
73 win32_global_cleanup();
76 win32_strerror_r_replacement(int errnum, tchar *buf, size_t buflen);
78 #endif /* _WIMLIB_WIN32_H */