XDAS Remote Native Logger
[Logging Modules]


Defines

#define XDMAPI
#define XDMEXP

Functions

XDMEXP int XDMAPI xdm_append (const char **msgflds)
 XDM module append routine.
XDMEXP int XDMAPI xdm_init (void(*logmsg)(int level, const char *msg,...), char *(*getcnfstr)(const char *, char *, size_t *))
 XDM module initialization routine.
XDMEXP void XDMAPI xdm_exit (void)
 XDM module exit routine.

Variables

static void(* s_fplogmsg )(int level, const char *msg,...)=0
 A pointer to the xdasd logmsg function.

Define Documentation

#define XDMAPI

Definition at line 50 of file xdm_xdas.c.

#define XDMEXP

Definition at line 51 of file xdm_xdas.c.


Function Documentation

XDMEXP int XDMAPI xdm_append ( const char **  msgflds  ) 

XDM module append routine.

Parameters:
[in] msgflds - an array of 34 char ptrs that point into the message at the start of each field. The last pointer (numbered 33) points to the byte that is 2 beyond the last printable character of the last field.
Returns:
Zero on success, -1 if the audit record cannot be written to storage.

For internal use only.

Todo:
Write appender for native remote logger.

Definition at line 67 of file xdm_xdas.c.

References void().

XDMEXP void XDMAPI xdm_exit ( void   ) 

XDM module exit routine.

For internal use only.

Todo:
Write exit function for native remote logger.

Definition at line 98 of file xdm_xdas.c.

XDMEXP int XDMAPI xdm_init ( void(*)(int level, const char *msg,...)  logmsg,
char *(*)(const char *, char *, size_t *)  getcnfstr 
)

XDM module initialization routine.

Returns:
Zero on success, or -1 on initialization failure.

For internal use only.

Todo:
Write init function for native remote logger.

Definition at line 82 of file xdm_xdas.c.

References s_fplogmsg, and void().


Variable Documentation

void(* s_fplogmsg)(int level, const char *msg,...)=0 [static]

A pointer to the xdasd logmsg function.


Generated on Thu Aug 20 22:33:07 2009 for OpenXDAS by  doxygen 1.5.6