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:
@@ -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 */
|
||||
Reference in New Issue
Block a user