summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-17 09:06:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-17 09:06:23 +0000
commit18dbfe70d804f6436658e8dd0af79188333e165a (patch)
tree5a89356fbad257f65a5ab8ed3bf8a77b84096678 /rsyslog.h
parent0a8e339bfeeb65bbd52264fab68cc13dd99d50e7 (diff)
downloadrsyslog-18dbfe70d804f6436658e8dd0af79188333e165a.tar.gz
rsyslog-18dbfe70d804f6436658e8dd0af79188333e165a.tar.xz
rsyslog-18dbfe70d804f6436658e8dd0af79188333e165a.zip
moved thread termination code out to threads.c
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 90d6421d..7499df28 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -93,6 +93,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_ADDRESS_UNKNOWN = -2020, /**< an address is unknown - not necessarily an error */
RS_RET_MALICIOUS_ENTITY = -2021, /**< there is an malicious entity involved */
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_OK = 0 /**< operation successful */
};
typedef enum rsRetVal_ rsRetVal; /**< friendly type for global return value */