mirror of
https://review.haiku-os.org/haiku
synced 2025-01-21 05:53:46 +01:00
7aaeb3f35a
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5325 a95241bf-73f2-0310-859d-f6bbb57e9c96
27 lines
577 B
C
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 */
|