aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorFelix Janda <felix.janda at posteo.de>2013-08-26 21:55:33 +0200
committerFelix Janda <felix.janda at posteo.de>2013-08-26 21:55:33 +0200
commitdccfb2a9c156d03b6399120ae3dd4b23ff00b43f (patch)
tree70e18888170c3729bb5fc9a9db8c41bad7e333d6 /lib/lib.h
parent8fad256b1956bb478fc416a21573f0dec3bf11c0 (diff)
downloadtoybox-dccfb2a9c156d03b6399120ae3dd4b23ff00b43f.tar.gz
syslogd: cleanup
- fix bugs introduced in the cleanups - inline addrfds() and open_unix_socks() and simplify them - use xpidfile() - remove isNetwork from struct logfile - invert the meaning of facility and level in struct logfile so that they are automatically correctly initialized - fix memory leak regarding the filenames of logfiles - TT.sd was unused
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 5d1d03c7..b7b10ff4 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -123,6 +123,7 @@ void xmkpath(char *path, int mode);
void xsetuid(uid_t uid);
char *xreadlink(char *name);
long xparsetime(char *arg, long units, long *fraction);
+void xpidfile(char *name);
// lib.c
void verror_msg(char *msg, int err, va_list va);