X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fchunk_compressor.h;fp=include%2Fwimlib%2Fcompress_chunks.h;h=176dc531710d8e82a5b10db7f6ae6af6e4c4689b;hb=883833a4b3dabec325edf1ca938000f91d587c00;hp=cfd733360ecdc173c653eadca7e531735935bd93;hpb=832455ca09a05ae3cd50d281a3a4a6238aeee2a9;p=wimlib diff --git a/include/wimlib/compress_chunks.h b/include/wimlib/chunk_compressor.h similarity index 87% rename from include/wimlib/compress_chunks.h rename to include/wimlib/chunk_compressor.h index cfd73336..176dc531 100644 --- a/include/wimlib/compress_chunks.h +++ b/include/wimlib/chunk_compressor.h @@ -1,16 +1,13 @@ -#ifndef _WIMLIB_COMPRESS_CHUNK_H -#define _WIMLIB_COMPRESS_CHUNK_H +/* + * chunk_compressor.h + * + * Interface for serial/parallel chunk compression. + */ -#include - -struct wimlib_lzx_context; +#ifndef _WIMLIB_CHUNK_COMPRESSOR_H +#define _WIMLIB_CHUNK_COMPRESSOR_H -unsigned -compress_chunk(const void * uncompressed_data, - unsigned uncompressed_len, - void *compressed_data, - int out_ctype, - struct wimlib_lzx_context *comp_ctx); +#include /* Interface for chunk compression. Users can submit chunks of data to be * compressed, then retrieve them later in order. This interface can be @@ -69,7 +66,6 @@ new_parallel_chunk_compressor(int out_ctype, u32 out_chunk_size, int new_serial_chunk_compressor(int out_ctype, u32 out_chunk_size, - struct wimlib_lzx_context *comp_ctx, struct chunk_compressor **compressor_ret); -#endif +#endif /* _WIMLIB_CHUNK_COMPRESSOR_H */