RSA Security logo

RSA BSAFE Cert-C
API Reference

FILE_LOG_PARAMS Struct Reference

Passes initialization parameters to the Cert-C Status Log service provider's initialization functions.

When you use C_InitializeCertC() to register the Cert-C Status Log service provider, the corresponding handlerParams should point to a FILE_LOG_PARAMS structure. Or, if you use C_RegisterService() to register the Cert-C Status Log service provider, the corresponding params should point to a FILE_LOG_PARAMS structure.

If multiple format control entries with the same error value are specified within the same, or multiple, format files, the particular format entry to use when logging is not defined.

Data Fields
logName The full pathname of the file where to print the log entries. If logName is stdout or stderr, the log entries are printed to the standard C output stream or the standard C error stream, respectively. Otherwise, the file name in logName is used. If logName is set to (char *)0, log entries are printed to the standard C error stream.
formatName The name of the file or files that contain the log message format control strings. Specify multiple format control files in a comma-separated list of file names. If formatName is (char *)0, the file name defaults to certc.msg.

#include <filelog.h>

00060 typedef struct {
00061   char *logName;           /* file where entries are stored */
00062   char *formatName;        /* file(s) containing format strings */
00063 } FILE_LOG_PARAMS;

The documentation for this struct was generated from the following file:


RSA BSAFE® Cert-C 2.7 API Reference