]> wimlib.net Git - wimlib/blobdiff - include/wimlib/chunk_compressor.h
resource.c: Make extract_chunk_to_fd() static
[wimlib] / include / wimlib / chunk_compressor.h
index 4684a61c14e81edda01293ad00a2ef4c94654200..96954637a8ef50df3cc0315a51ccbd7414bf1557 100644 (file)
@@ -32,7 +32,7 @@ struct chunk_compressor {
         * %false if the chunk compressor does not have space for the chunk at
         * the present time.  In the latter case, get_chunk() must be called to
         * retrieve a compressed chunk before trying again.  */
-       bool (*submit_chunk)(struct chunk_compressor *, const void *, size_t);
+       bool (*submit_chunk)(struct chunk_compressor *, const void *, u32);
 
        /* Get the next chunk of compressed data.
         *
@@ -53,7 +53,7 @@ struct chunk_compressor {
         * successfully retrieved, or %false if there are no chunks currently
         * being compressed.  */
        bool (*get_chunk)(struct chunk_compressor *,
-                         const void **, unsigned *, unsigned *);
+                         const void **, u32 *, u32 *);
 };