summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-08-05 14:56:20 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-08-05 14:56:20 +0200
commitf8342ced6f7c17ecd2f043254151c786257b3fbb (patch)
treed1fdaa84ba6ad90078f1affb3433de62cb35d8d3 /runtime/rsyslog.h
parent0bf454aba2b62618ab6c2a7c4b17641c0bce297b (diff)
downloadrsyslog-f8342ced6f7c17ecd2f043254151c786257b3fbb.tar.gz
rsyslog-f8342ced6f7c17ecd2f043254151c786257b3fbb.tar.xz
rsyslog-f8342ced6f7c17ecd2f043254151c786257b3fbb.zip
- imudp&imtcp now report error if no listener at all was defined
Thanks to Marcin for suggesting this error message
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 c2dbc2b2..cc1044a1 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -365,6 +365,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_MOD_UNKNOWN = -2209,/**< module (config name) is unknown */
RS_RET_CONFOBJ_UNSUPPORTED = -2210,/**< config objects (v6 conf) are not supported here */
RS_RET_MISSING_CNFPARAMS = -2211, /**< missing configuration parameters */
+ RS_RET_NO_LISTNERS = -2212, /**< module loaded, but no listeners are defined */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */