* 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 *);
};
/* Functions that return implementations of the chunk_compressor interface. */
+#ifdef ENABLE_MULTITHREADED_COMPRESSION
int
new_parallel_chunk_compressor(int out_ctype, u32 out_chunk_size,
unsigned num_threads, u64 max_memory,
struct chunk_compressor **compressor_ret);
+#endif
int
new_serial_chunk_compressor(int out_ctype, u32 out_chunk_size,