1 /* @(#) $Id: csyslogd-config.h,v 1.3 2009/06/24 17:06:25 dcid Exp $ */
3 /* Copyright (C) 2009 Trend Micro Inc.
6 * This program is a free software; you can redistribute it
7 * and/or modify it under the terms of the GNU General Public
8 * License (version 3) as published by the FSF - Free Software
16 #ifndef _CSYSLOGCONFIG__H
17 #define _CSYSLOGCONFIG__H
20 /* Database config structure */
21 typedef struct _SyslogConfig
26 unsigned int *rule_id;
27 unsigned int priority;
37 #define DEFAULT_CSYSLOG 0
40 /* Syslog severities */
41 #define SLOG_EMERG 0 /* system is unusable */
42 #define SLOG_ALERT 1 /* action must be taken immediately */
43 #define SLOG_CRIT 2 /* critical conditions */
44 #define SLOG_ERR 3 /* error conditions */
45 #define SLOG_WARNING 4 /* warning conditions */
46 #define SLOG_NOTICE 5 /* normal but significant condition */
47 #define SLOG_INFO 6 /* informational */
48 #define SLOG_DEBUG 7 /* debug-level messages */