TermDecompression API - Stop the decompression library

Terminates the decompression library. The library will free the memory used for pCB. All the memory used internally by the compression APIs will be managed by the library. The plug-in library will also manage memory used by the COMPR_CB structure. Db2® will manage the memory used for the data buffers (the src and tgt parameters in the compression APIs).

Authorization

None

Required connection

None

API include file

sqlucompr.h

API and data structure syntax

int TermDecompression(
      struct COMPR_CB *pCB);

TermDecompression API parameters

pCB
Input. This is the control block that was returned by the InitDecompression API call.