X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fwin32.h;h=9ab141f1543968efc24da15f02bd95c909511890;hb=3de1ec66f778edda19865482d685bc6f4e17faf7;hp=9d47ec6cc87990b594be2d2a9975ec9ff127e32a;hpb=b0948f133903373626d74324a9693a47b7a48feb;p=wimlib diff --git a/include/wimlib/win32.h b/include/wimlib/win32.h index 9d47ec6c..9ab141f1 100644 --- a/include/wimlib/win32.h +++ b/include/wimlib/win32.h @@ -8,14 +8,14 @@ #include "wimlib/callback.h" #include "wimlib/types.h" -struct wim_lookup_table_entry; +struct blob_descriptor; extern int -read_winnt_file_prefix(const struct wim_lookup_table_entry *lte, u64 size, - consume_data_callback_t cb, void *cb_ctx); +read_winnt_stream_prefix(const struct blob_descriptor *blob, u64 size, + consume_data_callback_t cb, void *cb_ctx); extern int -read_win32_encrypted_file_prefix(const struct wim_lookup_table_entry *lte, +read_win32_encrypted_file_prefix(const struct blob_descriptor *blob, u64 size, consume_data_callback_t cb, void *cb_ctx); @@ -47,6 +47,9 @@ win32_truncate_replacement(const tchar *path, off_t size); extern int win32_strerror_r_replacement(int errnum, tchar *buf, size_t buflen); +extern FILE * +win32_open_logfile(const wchar_t *path); + extern ssize_t pread(int fd, void *buf, size_t count, off_t offset);