First round of the syslog_daemon implementation.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5325 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-11-12 14:31:34 +00:00
parent 4691dc7ff8
commit 7aaeb3f35a
@@ -0,0 +1,26 @@
/*
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#ifndef SYSLOG_DAEMON_H
#define SYSLOG_DAEMON_H
#include <OS.h>
#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 */