summaryrefslogtreecommitdiff
path: root/runtime/syslogd-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syslogd-types.h')
-rw-r--r--runtime/syslogd-types.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/runtime/syslogd-types.h b/runtime/syslogd-types.h
index 6947a11..fe9dfa9 100644
--- a/runtime/syslogd-types.h
+++ b/runtime/syslogd-types.h
@@ -4,7 +4,7 @@
*
* File begun on 2007-07-13 by RGerhards (extracted from syslogd.c)
*
- * Copyright 2007-2012 Adiscon GmbH.
+ * Copyright 2007-2014 Adiscon GmbH.
*
* This file is part of the rsyslog runtime library.
*
@@ -27,9 +27,6 @@
#include "stringbuf.h"
#include <sys/param.h>
-#if HAVE_SYSLOG_H
-#include <syslog.h>
-#endif
/* we use RSTRUE/FALSE to prevent name claches with other packages */
#define RSFALSE 0
@@ -106,6 +103,17 @@ struct syslogTime {
};
typedef struct syslogTime syslogTime_t;
+struct tzinfo {
+ char *id;
+ char offsMode;
+ int8_t offsHour;
+ int8_t offsMin;
+};
+typedef struct tzinfo tzinfo_t;
+
+typedef enum { ACT_STRING_PASSING = 0, ACT_ARRAY_PASSING = 1, ACT_MSG_PASSING = 2,
+ ACT_JSON_PASSING = 3} paramPassing_t;
+
#endif /* #ifndef SYSLOGD_TYPES_INCLUDED */
/* vi:set ai:
*/