Added priority field to syslog_message.

Added macros to get the priority/facility.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5335 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-11-12 16:35:19 +00:00
parent 87a98412a1
commit 0edba5de96
@@ -19,8 +19,12 @@ struct syslog_message {
thread_id from;
time_t when;
int32 options;
int16 priority;
char ident[B_OS_NAME_LENGTH];
char message[1];
};
#define SYSLOG_PRIORITY(options) ((options) & 0x7)
#define SYSLOG_FACILITY(options) ((options) & 0x03f8)
#endif /* SYSLOG_DAEMON_H */