summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-08-09 11:48:52 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-08-09 11:48:52 +0200
commitd6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3 (patch)
treed94418b20afbbd3bc7de4fee58e6dbb7f958ad5c /runtime/rsyslog.h
parentf7ad5aeff03833879957ef00136610d1138a7212 (diff)
downloadrsyslog-d6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3.tar.gz
rsyslog-d6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3.tar.xz
rsyslog-d6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3.zip
added capability to emit config error location info for warnings
otherwise, omusrmsg's warning about new config format was not accompanied by problem location.
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index d20cd5bb..65ed70db 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -345,6 +345,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_WRN_WRKDIR = -2182, /**< correctable problems with the rsyslog working directory */
RS_RET_ERR_QUEUE_EMERGENCY = -2183, /**< some fatal error caused queue to switch to emergency mode */
RS_RET_OUTDATED_STMT = -2184, /**< some outdated statement/functionality is being used in conf file */
+ RS_RET_OK_WARN = -2185, /**< config part: everything was OK, but a warning message was emitted */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */