1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

liblzma: Update documentation for lzma_filter_encoder.

This commit is contained in:
Jia Tan 2022-12-22 23:14:53 +08:00 committed by Lasse Collin
parent 7067c1ca65
commit 2155fef528

View file

@ -37,9 +37,12 @@ typedef struct {
uint64_t (*block_size)(const void *options); uint64_t (*block_size)(const void *options);
/// Tells the size of the Filter Properties field. If options are /// Tells the size of the Filter Properties field. If options are
/// invalid, UINT32_MAX is returned. If this is NULL, props_size_fixed /// invalid, LZMA_OPTIONS_ERROR is returned and size is set to
/// is used. /// UINT32_MAX.
lzma_ret (*props_size_get)(uint32_t *size, const void *options); lzma_ret (*props_size_get)(uint32_t *size, const void *options);
/// Some filters will always have the same size Filter Properties
/// field. If props_size_get is NULL, this value is used.
uint32_t props_size_fixed; uint32_t props_size_fixed;
/// Encodes Filter Properties. /// Encodes Filter Properties.