summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-14 08:37:42 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-14 08:37:42 +0000
commitdd36718bd11c85af49546ab589fa42bf512075ce (patch)
tree64e028d492472f0a3fc7aace150bf36db2ea6da4 /rsyslog.h
parent16f39256b6bdc3ce5dafc17a14b553841eef2120 (diff)
downloadrsyslog-dd36718bd11c85af49546ab589fa42bf512075ce.tar.gz
rsyslog-dd36718bd11c85af49546ab589fa42bf512075ce.tar.xz
rsyslog-dd36718bd11c85af49546ab589fa42bf512075ce.zip
worker shutdown sequence enhanced to try different ways to shut down and
terminate workers if none helps (this protects against badly written output plugins which hold the queue for too long)
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 1514cc3e..3e5c0397 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -109,6 +109,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_QTYPE_MISMATCH = -2038, /**< different qType when reading back a property type */
RS_RET_NO_FILE_ACCESS = -2039, /**< covers EACCES error on file open() */
RS_RET_FILE_NOT_FOUND = -2040, /**< file not found */
+ RS_RET_TIMED_OUT = -2041, /**< timeout occured (not necessarily an error) */
RS_RET_OK_DELETE_LISTENTRY = 1, /**< operation successful, but callee requested the deletion of an entry (special state) */
RS_RET_TERMINATE_NOW = 2, /**< operation successful, function is requested to terminate (mostly used with threads) */
RS_RET_NO_RUN = 3, /**< operation successful, but function does not like to be executed */