Implemented syslog support for the kernel debug output. Not fancy at all yet, but
it seems to be working fine. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16073 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
* Copyright 2003-2006, Axel Dörfler, [email protected]. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef SYSLOG_DAEMON_H
|
||||
#define SYSLOG_DAEMON_H
|
||||
|
||||
@@ -28,6 +28,9 @@ struct syslog_message {
|
||||
char message[1];
|
||||
};
|
||||
|
||||
#define SYSLOG_MESSAGE_BUFFER_SIZE 8192
|
||||
#define SYSLOG_MAX_MESSAGE_LENGTH (SYSLOG_MESSAGE_BUFFER_SIZE - sizeof(struct syslog_message))
|
||||
|
||||
#define SYSLOG_PRIORITY(options) ((options) & 0x7)
|
||||
#define SYSLOG_FACILITY(options) ((options) & 0x03f8)
|
||||
#define SYSLOG_FACILITY_INDEX(options) (SYSLOG_FACILITY(options) >> 3)
|
||||
|
||||
Reference in New Issue
Block a user