#ifndef _WIMLIB_CHUNK_COMPRESSOR_H
#define _WIMLIB_CHUNK_COMPRESSOR_H
-#include <wimlib/types.h>
+#include "wimlib/types.h"
/* Interface for chunk compression. Users can submit chunks of data to be
* compressed, then retrieve them later in order. This interface can be
* %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.
*
* 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 *);
};