1 #ifndef _WIMLIB_WIN32_H
2 #define _WIMLIB_WIN32_H
6 #include "wimlib/types.h"
8 struct blob_descriptor;
9 struct read_blob_callbacks;
12 read_winnt_stream_prefix(const struct blob_descriptor *blob, u64 size,
13 const struct read_blob_callbacks *cbs);
16 read_win32_encrypted_file_prefix(const struct blob_descriptor *blob,
18 const struct read_blob_callbacks *cbs);
21 win32_global_init(int init_flags);
24 win32_global_cleanup(void);
30 realpath(const tchar *path, tchar *resolved_path);
33 win32_rename_replacement(const tchar *oldpath, const tchar *newpath);
36 win32_truncate_replacement(const tchar *path, off_t size);
39 win32_strerror_r_replacement(int errnum, tchar *buf, size_t buflen);
42 win32_open_logfile(const wchar_t *path);
45 pread(int fd, void *buf, size_t count, off_t offset);
48 pwrite(int fd, const void *buf, size_t count, off_t offset);
50 #endif /* __WIN32__ */
52 #endif /* _WIMLIB_WIN32_H */