1 /* Copyright (C) 2009 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
12 #ifndef _CSYSLOGCONFIG__H
13 #define _CSYSLOGCONFIG__H
15 /* Database config structure */
16 typedef struct _SyslogConfig {
20 unsigned int *rule_id;
21 unsigned int priority;
22 unsigned int use_fqdn;
30 struct SyslogConfig_holder {
35 #define DEFAULT_CSYSLOG 0
37 #define JSON_CSYSLOG 2
38 #define SPLUNK_CSYSLOG 3
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 */
50 #endif /* _CSYSLOGCONFIG__H */