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