diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-02 12:34:20 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-02 12:34:20 +0000 |
commit | 24c5e87b82a655ac7556f66f4d1cec8c3fe9ee2a (patch) | |
tree | cfc29c83596240e9c77e9b06ed5da3a4d38d61b4 /rsyslog.h | |
parent | ff790810517ce193efab3841ae51330f7c1a72bc (diff) | |
download | rsyslog-24c5e87b82a655ac7556f66f4d1cec8c3fe9ee2a.tar.gz rsyslog-24c5e87b82a655ac7556f66f4d1cec8c3fe9ee2a.tar.bz2 rsyslog-24c5e87b82a655ac7556f66f4d1cec8c3fe9ee2a.zip |
added more meaningful error messages to rsyslogd (when some errors happens
during startup)
Diffstat (limited to 'rsyslog.h')
-rw-r--r-- | rsyslog.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -162,6 +162,11 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_OBJ_ALREADY_REGISTERED = -2061, /**< object (name) is already registered */ RS_RET_OBJ_REGISTRY_OUT_OF_SPACE = -2062, /**< the object registry has run out of space */ RS_RET_HOST_NOT_PERMITTED = -2063, /**< a host is not permitted to perform an action it requested */ + RS_RET_MODULE_LOAD_ERR = -2064, /**< module could not be loaded */ + RS_RET_MODULE_LOAD_ERR_PATHLEN = -2065, /**< module could not be loaded - path to long */ + RS_RET_MODULE_LOAD_ERR_DLOPEN = -2066, /**< module could not be loaded - problem in dlopen() */ + RS_RET_MODULE_LOAD_ERR_NO_INIT = -2067, /**< module could not be loaded - init() missing */ + RS_RET_MODULE_LOAD_ERR_INIT_FAILED = -2068, /**< module could not be loaded - init() failed */ /* RainerScript error messages (range 1000.. 1999) */ RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */ |