RSA Security logo

RSA BSAFE Cert-C
API Reference

filelog.h

Go to the documentation of this file.
00001 /*
00002 ** Copyright (c) 2000-2002, RSA Security Inc.
00003 **
00004 ** This file is used to demonstrate how to interface to an RSA
00005 ** Security licensed development product.  You have a
00006 ** royalty-free right to use, modify, reproduce and distribute this
00007 ** demonstration file (including any modified version), provided that
00008 ** you agree that RSA Security has no warranty, implied or
00009 ** otherwise, or liability for this demonstration file or any modified
00010 ** version.
00011 **
00012 */
00013 
00014 #ifndef HEADER_BSAFE_CERTC_FILELOG
00015 #define HEADER_BSAFE_CERTC_FILELOG 1
00016 
00024 #include "service.h"
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00060 typedef struct {
00061   char *logName;           /* file where entries are stored */
00062   char *formatName;        /* file(s) containing format strings */
00063 } FILE_LOG_PARAMS;
00064 
00065 /* InitializeFileLog
00066 
00067   params
00068     This should be a pointer to a FILE_LOG_PARAMS structure. If (FILE_LOG_PARAMS *)0 is
00069     passed, the default file names are opened in the current working directory.
00070 */
00071 
00148 int S_InitializeFileLog (
00149   CERTC_CTX      ctx,           /* Cert-C context */
00150   POINTER        params,        /* provider-specific parameters */
00151   SERVICE_FUNCS *funcs,         /* (out) provider functions */
00152   POINTER       *handle);       /* (out) provider handle */
00153 
00154 #ifdef __cplusplus
00155 }
00156 #endif
00157 
00158 #endif /* HEADER_BSAFE_CERTC_FILELOG */



RSA BSAFE® Cert-C 2.7 API Reference