|
Qsmtp
0.30dev
|
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) |
syslog interface
| void log_write | ( | int | priority, |
| const char * | s | ||
| ) |
write single message to syslog
| priority | syslog priority |
| s | message to write |
| void log_writen | ( | int | priority, |
| const char ** | s | ||
| ) |
combine line and write it to syslog
| priority | syslog priority |
| s | array of log messages |
1.8.10