Axel Dörfler 7aaeb3f35a First round of the syslog_daemon implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:31:34 +00:00

27 lines
577 B
C

/*
** 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 <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 */