1 #ifndef _WIMLIB_WIN32_H
2 #define _WIMLIB_WIN32_H
6 #include "wimlib/callback.h"
7 #include "wimlib/types.h"
9 struct blob_descriptor;
12 read_winnt_stream_prefix(const struct blob_descriptor *blob, u64 size,
13 consume_data_callback_t cb, void *cb_ctx);
16 read_win32_encrypted_file_prefix(const struct blob_descriptor *blob,
18 consume_data_callback_t cb,
22 win32_global_init(int init_flags);
25 win32_global_cleanup(void);
31 realpath(const tchar *path, tchar *resolved_path);
34 win32_rename_replacement(const tchar *oldpath, const tchar *newpath);
37 win32_truncate_replacement(const tchar *path, off_t size);
40 win32_strerror_r_replacement(int errnum, tchar *buf, size_t buflen);
43 win32_open_logfile(const wchar_t *path);
46 pread(int fd, void *buf, size_t count, off_t offset);
49 pwrite(int fd, const void *buf, size_t count, off_t offset);
51 #endif /* __WIN32__ */
53 #endif /* _WIMLIB_WIN32_H */