1 #ifndef _WIMLIB_WIN32_H
2 #define _WIMLIB_WIN32_H
6 #include "wimlib/callback.h"
7 #include "wimlib/types.h"
11 struct wim_lookup_table_entry;
15 read_win32_file_prefix(const struct wim_lookup_table_entry *lte,
17 consume_data_callback_t cb,
21 read_win32_encrypted_file_prefix(const struct wim_lookup_table_entry *lte,
23 consume_data_callback_t cb,
28 win32_global_init(int init_flags);
31 win32_global_cleanup(void);
37 win32_get_number_of_processors(void);
40 win32_get_avail_memory(void);
43 realpath(const tchar *path, tchar *resolved_path);
50 win32_rename_replacement(const tchar *oldpath, const tchar *newpath);
53 win32_truncate_replacement(const tchar *path, off_t size);
56 win32_strerror_r_replacement(int errnum, tchar *buf, size_t buflen);
59 win32_get_file_and_vol_ids(const wchar_t *path, u64 *ino_ret, u64 *dev_ret);
62 pread(int fd, void *buf, size_t count, off_t offset);
65 pwrite(int fd, const void *buf, size_t count, off_t offset);
68 writev(int fd, const struct iovec *iov, int iovcnt);
70 #endif /* __WIN32__ */
72 #endif /* _WIMLIB_WIN32_H */