Qsmtp  0.30dev
Functions
log.c File Reference

syslog interface More...

#include <log.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <unistd.h>

Functions

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

Detailed Description

syslog interface

Function Documentation

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