Qsmtp  0.30dev
Functions
log.h File Reference

header for syslog interface functions More...

Go to the source code of this file.

Functions

void log_writen (int priority, const char **s)
 
void log_write (int priority, const char *s)
 
void dieerror (int error)
 

Detailed Description

header for syslog interface functions

Function Documentation

void dieerror ( int  error)

log error message and terminate program

Parameters
errorerror code that caused the program termination
void log_write ( int  priority,
const char *  s 
)

write single message to syslog

Parameters
prioritysyslog priority
smessage to write
See also
log_writen
void log_writen ( int  priority,
const char **  s 
)

combine line and write it to syslog

Parameters
prioritysyslog priority
sarray of log messages