diff options
author | laforge <laforge> | 2002-07-30 07:04:11 +0000 |
---|---|---|
committer | laforge <laforge> | 2002-07-30 07:04:11 +0000 |
commit | 270ccfe33eae61dbd55019486b4a5546baae7491 (patch) | |
tree | 798639008f16c387b3e7264192de1b5132cf13b0 /ulogd/libipulog/include/libipulog/libipulog.h | |
parent | 73583514fdffa7470441a2123a771a68a2073083 (diff) |
- if ipulog_read fails, print errno and ulog_errno
- close stdin and call setsid() when we daemonize
- make logfile rotate work
- add comment about log levels to ulogd.conf
Diffstat (limited to 'ulogd/libipulog/include/libipulog/libipulog.h')
-rw-r--r-- | ulogd/libipulog/include/libipulog/libipulog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ulogd/libipulog/include/libipulog/libipulog.h b/ulogd/libipulog/include/libipulog/libipulog.h index 698c33f..78f4220 100644 --- a/ulogd/libipulog/include/libipulog/libipulog.h +++ b/ulogd/libipulog/include/libipulog/libipulog.h @@ -1,7 +1,7 @@ #ifndef _LIBIPULOG_H #define _LIBIPULOG_H -/* $Id: libipulog.h,v 1.3 2001/05/21 19:15:16 laforge Exp $ */ +/* $Id: libipulog.h,v 1.4 2001/07/03 14:45:16 laforge Exp $ */ #include <errno.h> #include <unistd.h> @@ -35,6 +35,8 @@ ulog_packet_msg_t *ipulog_get_packet(struct ipulog_handle *h, const unsigned char *buf, size_t len); +char *ipulog_strerror(int errcode); + void ipulog_perror(const char *s); #endif /* _LIBULOG_H */ |