diff --git a/headers/private/syslog_daemon/syslog_daemon.h b/headers/private/syslog_daemon/syslog_daemon.h new file mode 100644 index 0000000000..2e827cef45 --- /dev/null +++ b/headers/private/syslog_daemon/syslog_daemon.h @@ -0,0 +1,26 @@ +/* +** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +*/ +#ifndef SYSLOG_DAEMON_H +#define SYSLOG_DAEMON_H + + +#include + + +#define SYSLOG_PORT_NAME "syslog_daemon" +#define SYSLOG_MESSAGE '_Syl' + +// This message is sent from both, the POSIX syslog API and the kernel's +// dprintf() logging facility if logging to syslog was enabled. + +struct syslog_message { + thread_id from; + time_t when; + int32 options; + char ident[B_OS_NAME_LENGTH]; + char message[1]; +}; + +#endif /* SYSLOG_DAEMON_H */