#include extern "C" { #include }; void syslog_proxy(const char *fmt, ...) { va_list a; va_start(a,fmt); vsyslog(LOG_ERR, fmt, a); va_end(a); } void openlog_proxy(const char *ident) { openlog(ident,0,LOG_DAEMON); }