X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fwin32.h;h=89b385f214a06f07f573c30cf7b17bb126cbb5cc;hb=18b97ba5b37c0134513886062946d0fd521a9b5e;hp=b4d523614ec279d2556b03e827d7692395aae4d4;hpb=670a0ed6a1f36bebf71f0b221f3d78e497d305c2;p=wimlib diff --git a/src/win32.h b/src/win32.h index b4d52361..89b385f2 100644 --- a/src/win32.h +++ b/src/win32.h @@ -8,13 +8,10 @@ extern int win32_build_dentry_tree(struct wim_dentry **root_ret, const tchar *root_disk_path, - struct wim_lookup_table *lookup_table, - struct wim_inode_table *inode_table, - struct sd_set *sd, - const struct wimlib_capture_config *config, - int add_image_flags, - wimlib_progress_func_t progress_func, - void *extra_arg); + struct add_image_params *params); + +extern int +win32_get_file_and_vol_ids(const wchar_t *path, u64 *ino_ret, u64 *dev_ret); extern int win32_read_file(const tchar *filename, HANDLE handle, @@ -49,8 +46,8 @@ win32_do_apply_dentry(const tchar *output_path, extern int win32_do_apply_dentry_timestamps(const tchar *output_path, size_t output_path_nbytes, - const struct wim_dentry *dentry, - const struct apply_args *args); + struct wim_dentry *dentry, + struct apply_args *args); extern int fsync(int fd); @@ -80,4 +77,13 @@ win32_global_cleanup(); extern int win32_strerror_r_replacement(int errnum, tchar *buf, size_t buflen); +extern ssize_t +win32_pread(int fd, void *buf, size_t count, off_t offset); + +extern ssize_t +win32_pwrite(int fd, const void *buf, size_t count, off_t offset); + +extern ssize_t +win32_writev(int fd, const struct iovec *iov, int iovcnt); + #endif /* _WIMLIB_WIN32_H */