#include <cat/cat.h>
int catcert_setdb(cat_session *sess, catdb_func *func, void *handle);
The func function is used to add, delete and look up certificates in the cache.
handle is the certificate cache handle.
The callback function, func, must match the following prototype;
typedef int catdb_func(int, catdb_data *, void *);
where the first argument is one of CATDB_GET, CATDB_PUT, CATDB_DEL or CATDB_CHECK.
catssl_setdb, cat_newmemdb, cat_newfiledb