#include <cache_ctx.h> #include <cache_ctx_db.h> int create_cache_ctx_db(ctxp, name) cache_ctx *ctxp; UCHAR *name;
cache_ctx_db
maps the cache_ctx
abstraction onto a database. See cache_ctx for information on using the cache_ctx
abstraction.
name
parameter is the filename of the database to use for the cache. create_cache_ctx_db()
returns NO_ERROR
. On failure, it returns
CACHE_CTX_ERR_BAD_PARAMETER
or CACHE_CTX_ERR_MEMORY
. See Return Values for descriptions of individual error codes. For documentation on displaying or logging return values, see error_ctx.
cache_ctx_db
uses a database for persistence, calling CACHE_delete()
does not delete
the underlying cache. cache_ctx
abstraction.
Copyright © 1996, 1997, Visa International Service Association and MasterCard International Incorporated
All Rights Reserved.