Go to the documentation of this file.
28 #ifndef CPL_COMPRESSOR_H_INCLUDED
29 #define CPL_COMPRESSOR_H_INCLUDED
74 void **output_data,
size_t *output_size,
76 void *compressor_user_data);
123 void CPL_DLL CPLDestroyCompressorRegistry(
void);
128 #endif // CPL_COMPRESSOR_H_INCLUDED
CPLCompressionFunc pfnFunc
Compressor/decompressor callback.
Definition: cpl_compressor.h:105
const char * pszId
Id of the compressor/decompressor.
Definition: cpl_compressor.h:93
@ CCT_COMPRESSOR
Compressor.
Definition: cpl_compressor.h:82
bool CPLRegisterDecompressor(const CPLCompressor *decompressor)
Register a new decompressor.
Definition: cpl_compressor.cpp:1886
CPLCompressorType
Type of compressor.
Definition: cpl_compressor.h:79
CSLConstList papszMetadata
Metadata, as a NULL terminated list of strings.
Definition: cpl_compressor.h:103
CPLCompressorType eType
Compressor type.
Definition: cpl_compressor.h:95
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:306
bool CPLRegisterCompressor(const CPLCompressor *compressor)
Register a new compressor.
Definition: cpl_compressor.cpp:1854
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1178
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:310
const CPLCompressor * CPLGetDecompressor(const char *pszId)
Return a decompressor.
Definition: cpl_compressor.cpp:1982
const CPLCompressor * CPLGetCompressor(const char *pszId)
Return a compressor.
Definition: cpl_compressor.cpp:1958
Compressor/decompressor description.
Definition: cpl_compressor.h:88
bool(* CPLCompressionFunc)(const void *input_data, size_t input_size, void **output_data, size_t *output_size, CSLConstList options, void *compressor_user_data)
Callback of a compressor/decompressor.
Definition: cpl_compressor.h:73
char ** CPLGetCompressors(void)
Return the list of registered compressors.
Definition: cpl_compressor.cpp:1914
char ** CPLGetDecompressors(void)
Return the list of registered decompressors.
Definition: cpl_compressor.cpp:1935
void * user_data
User data to provide to the callback.
Definition: cpl_compressor.h:107
@ CCT_FILTER
Filter.
Definition: cpl_compressor.h:84
int nStructVersion
Structure version.
Definition: cpl_compressor.h:91