InitDecompression API - Initialize the decompression library
Initializes the decompression library. Db2® will pass the db2Info structure. The library will allocate pCB and return a pointer to the allocated memory.
Authorization
None
Required connection
None
API include file
sqlucompr.h
API and data structure syntax
int InitDecompression(
const struct COMPR_DB2INFO
*db2Info,
struct COMPR_CB **pCB);
InitDecompression API parameters
- db2Info
- Input. Describes the database being backed up and gives details about the Db2 environment where the operation is occurring.
- pCB
- Output. This is the control block used by the decompression library. The plug-in library is responsible for memory management of the structure.