summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon>2008-04-14 12:10:00 +0200
committerRainer Gerhards <rgerhards@adiscon>2008-04-14 12:10:00 +0200
commit3669057997e7665735626fd29a40bd10e160c88f (patch)
tree9c6b6540b04dc0bfde6b7b1b59ea5ea21c47ef37 /rsyslog.h
parentaf26ba581643463ec59a7b9fd69f5ffbed347d0a (diff)
downloadrsyslog-3669057997e7665735626fd29a40bd10e160c88f.tar.gz
rsyslog-3669057997e7665735626fd29a40bd10e160c88f.tar.xz
rsyslog-3669057997e7665735626fd29a40bd10e160c88f.zip
provided ability to discard non-kernel messages present in the kernel msg buffer
This obviously happens on BSD (<118> markers seen). We now have the ability to allow or prevent it, with the default being not permitted. Should not at all affect other drivers, but it is implemented on a common code basis, not on the driver layer.
Diffstat (limited to 'rsyslog.h')
-rw-r--r--rsyslog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsyslog.h b/rsyslog.h
index 93b5c149..2249e040 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -171,6 +171,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_SMTP_ERROR = -2070, /**< error during SMTP transation */
RS_RET_MAIL_NO_TO = -2071, /**< recipient for mail destination is missing */
RS_RET_MAIL_NO_FROM = -2072, /**< sender for mail destination is missing */
+ RS_RET_INVALID_PRI = -2073, /**< PRI value is invalid */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */