db2secFreeToken API - Free memory held by token
Frees the memory held by a token. This API is called by the Db2® database manager when it no longer needs the memory held by the token parameter.
API and data structure syntax
SQL_API_RC ( SQL_API_FN *db2secFreeToken)
( void *token,
char **errormsg,
db2int32 *errormsglen );db2secFreeToken API parameters
- token
- Input. Pointer to the memory to be freed.
- errormsg
- Output. A pointer to the address of an ASCII error message string allocated by the plug-in that can be returned in this parameter if the db2secFreeToken API execution is not successful.
- errormsglen
- Output. A pointer to an integer that indicates the length in bytes of the error message string in errormsg parameter.