z/OS Cryptographic Services System SSL Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


gsk_close_database()

z/OS Cryptographic Services System SSL Programming
SC14-7495-00

Closes a key or request database.

Format

   #include <gskcms.h>

   gsk_status gsk_close_database (
                                               gsk_handle *         db_handle)

Parameters

db_handle
Specifies the database handle returned by the gsk_create_database() routine or the gsk_open_database() routine. The handle will be set to NULL upon successful completion.

Results

The function return value will be 0 if no error is detected. Otherwise, it will be one of the return codes listed in the gskcms.h include file. This is a possible error:
[CMSERR_BAD_HANDLE]
The database handle is not valid.

Usage

The gsk_close_database() routine will close a key or request database. The db_handle will not be valid upon return from the gsk_close_database() routine.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014