summaryrefslogtreecommitdiffstats
path: root/syslogd-types.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-24 09:45:19 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-24 09:45:19 +0000
commitf97c90d12b9ae64a64cde84bb3fa3ca5ee207838 (patch)
treef308e54af6d65da17e398dd0964aa70b97a8cee4 /syslogd-types.h
parentf48f11f50e9337e499e6e7b56ca3f143cb55f181 (diff)
downloadrsyslog-f97c90d12b9ae64a64cde84bb3fa3ca5ee207838.tar.gz
rsyslog-f97c90d12b9ae64a64cde84bb3fa3ca5ee207838.tar.xz
rsyslog-f97c90d12b9ae64a64cde84bb3fa3ca5ee207838.zip
moved discard functionality to an output module
Diffstat (limited to 'syslogd-types.h')
-rw-r--r--syslogd-types.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/syslogd-types.h b/syslogd-types.h
index ee29c68a..2865b81d 100644
--- a/syslogd-types.h
+++ b/syslogd-types.h
@@ -53,6 +53,14 @@
#endif
+/* we define features of the syslog code. This features can be used
+ * to check if modules are compatible with them - and possible other
+ * applications I do not yet envision. -- rgerhards, 2007-07-24
+ */
+typedef enum _syslogFeature {
+ sFEATURERepeatedMsgReduction = 1
+} syslogFeature;
+
/* we define our own facility and severities */
/* facility and severity codes */
typedef struct _syslogCode {
@@ -135,7 +143,7 @@ struct syslogTime {
*/
struct filed {
struct filed *f_next; /* next in linked list */
- short f_type; /* entry type, see below */
+ /*__attribute__((deprecated))*/ short f_type; /* entry type, see below */
short f_file; /* file descriptor */
time_t f_time; /* time this was last written */
/* filter properties */