diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-18 13:05:05 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-18 13:05:05 +0000 |
commit | aebd480be7149d51c628fe50531a3bd359550a82 (patch) | |
tree | 43878fcb2e890723d0d6ea1a2e54b65f24e588e5 /rsyslog.h | |
parent | e8bdad7f8b4da71657f504950adab65e352d864c (diff) | |
download | rsyslog-aebd480be7149d51c628fe50531a3bd359550a82.tar.gz rsyslog-aebd480be7149d51c628fe50531a3bd359550a82.tar.xz rsyslog-aebd480be7149d51c628fe50531a3bd359550a82.zip |
split the function cvthname() for clarity. Also changed to using the
rsRetVal status return system
Diffstat (limited to 'rsyslog.h')
-rw-r--r-- | rsyslog.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -70,6 +70,9 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_INVALID_PARAMS = -2016,/**< supplied parameters are invalid */ RS_RET_EMPTY_LIST = -2017, /**< linked list is empty */ RS_RET_FINISHED = -2018, /**< some opertion is finished, not an error state */ + RS_RET_INVALID_SOURCE = -2019, /**< source (address) invalid for some reason */ + 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 = 0 /**< operation successful */ }; typedef enum rsRetVal_ rsRetVal; /**< friendly type for global return value */ |