System Logger
[Logging Modules]


Files

file  xdm_netstream.c
 OpenXDAS loadable back-end logger for a network data stream.
file  xdm_syslog.c
 OpenXDAS loadable back-end logger for local system log.

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 61 of file xdm_syslog.c.

#define XDMEXP

Definition at line 62 of file xdm_syslog.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.

Definition at line 153 of file xdm_syslog.c.

References type.

XDMEXP void XDMAPI xdm_exit ( void   ) 

XDM module exit routine.

For internal use only.

Definition at line 195 of file xdm_syslog.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.

Definition at line 174 of file xdm_syslog.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