X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Fwin32.h;h=46d48a80c96a0db169f6537b477c182c84ff049a;hp=96d2ebd2a6505e7a6a05ea95142f4b6a50db1090;hb=8b676e7d340fb8197824745eb387e1d3154e6f60;hpb=a4123fea556d6c362318212127e25846981ea190 diff --git a/include/wimlib/win32.h b/include/wimlib/win32.h index 96d2ebd2..46d48a80 100644 --- a/include/wimlib/win32.h +++ b/include/wimlib/win32.h @@ -1,3 +1,7 @@ +/* + * win32.h - Windows-specific declarations needed by non-Windows-specific files. + */ + #ifndef _WIMLIB_WIN32_H #define _WIMLIB_WIN32_H @@ -7,15 +11,21 @@ struct blob_descriptor; struct read_blob_callbacks; +struct windows_file; + +extern struct windows_file * +clone_windows_file(const struct windows_file *file); + +extern void +free_windows_file(struct windows_file *file); extern int -read_winnt_stream_prefix(const struct blob_descriptor *blob, u64 size, - const struct read_blob_callbacks *cbs); +cmp_windows_files(const struct windows_file *file1, + const struct windows_file *file2); extern int -read_win32_encrypted_file_prefix(const struct blob_descriptor *blob, - u64 size, - const struct read_blob_callbacks *cbs); +read_windows_file_prefix(const struct blob_descriptor *blob, u64 size, + const struct read_blob_callbacks *cbs); extern int win32_global_init(int init_flags);