Enumeration

compression_status

A set of values used to represent the status of stream compression.

Declaration

typedef enum : int {
    ...
} compression_status;

Topics

Status Constants

COMPRESSION_STATUS_OK

Indicates the stream has consumed all data in the source buffer, or used all space in the destination buffer.

COMPRESSION_STATUS_END

Indicates the stream has read all input from the source, and written all output to the destination.

COMPRESSION_STATUS_ERROR

Indicates an error with stream compression.

See Also

Multiple-Step Compression

Compressing and Decompressing Files with Stream Compression

Perform compression or the appropriate kind of decompression to a file based on its path extension.

compression_stream

A structure representing a compression stream.

compression_stream_init

Initializes a compression stream for either compression or decompression.

compression_stream_process

Performs compression or decompression using an initialized compression stream structure.

compression_stream_destroy

Frees any memory allocated by stream initialization function.

compression_stream_flags

A set of values used to represent stream compression flags.

compression_stream_operation

A set of values used to represent a stream compression operation.