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