resource reading cleanups
[wimlib] / include / wimlib / win32.h
index c76a7ff5ee729b746ffe8553be4357bac4dd16fc..96d2ebd2a6505e7a6a05ea95142f4b6a50db1090 100644 (file)
@@ -3,20 +3,19 @@
 
 #ifdef __WIN32__
 
-#include "wimlib/callback.h"
 #include "wimlib/types.h"
 
 struct blob_descriptor;
+struct read_blob_callbacks;
 
 extern int
 read_winnt_stream_prefix(const struct blob_descriptor *blob, u64 size,
-                        consume_data_callback_t cb, void *cb_ctx);
+                        const struct read_blob_callbacks *cbs);
 
 extern int
 read_win32_encrypted_file_prefix(const struct blob_descriptor *blob,
                                 u64 size,
-                                consume_data_callback_t cb,
-                                void *cb_ctx);
+                                const struct read_blob_callbacks *cbs);
 
 extern int
 win32_global_init(int init_flags);