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 XDMAPI |
Definition at line 61 of file xdm_syslog.c.
#define XDMEXP |
Definition at line 62 of file xdm_syslog.c.
XDMEXP int XDMAPI xdm_append | ( | const char ** | msgflds | ) |
XDM module append routine.
[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. |
For internal use only.
Definition at line 153 of file xdm_syslog.c.
References type.
XDMEXP void XDMAPI xdm_exit | ( | void | ) |
XDMEXP int XDMAPI xdm_init | ( | void(*)(int level, const char *msg,...) | logmsg, | |
char *(*)(const char *, char *, size_t *) | getcnfstr | |||
) |
XDM module initialization routine.
For internal use only.
Definition at line 174 of file xdm_syslog.c.
References s_fplogmsg, and void().
void(* s_fplogmsg)(int level, const char *msg,...)=0 [static] |
A pointer to the xdasd logmsg function.