summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-17 15:40:28 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-17 15:40:28 +0200
commitccf3b533c698d323cafb01d32f35edaeaf8e8daa (patch)
tree6b9b0938d72de47a231fd274914b51304577d3e9 /runtime/rsyslog.h
parent92303d400ba83eaf150054d2cf5ce4906578bed0 (diff)
downloadrsyslog-ccf3b533c698d323cafb01d32f35edaeaf8e8daa.tar.gz
rsyslog-ccf3b533c698d323cafb01d32f35edaeaf8e8daa.tar.xz
rsyslog-ccf3b533c698d323cafb01d32f35edaeaf8e8daa.zip
imported tcp module from librelp as basis for new stream class
we got permission to include the tcp module from librelp copyright holders
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 3a81d67b..7ed989c5 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -198,6 +198,11 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_MAIL_NO_TO = -2071, /**< recipient for mail destination is missing */
RS_RET_MAIL_NO_FROM = -2072, /**< sender for mail destination is missing */
RS_RET_INVALID_PRI = -2073, /**< PRI value is invalid */
+ RS_RET_MALICIOUS_HNAME = -2074, /**< remote peer is trying malicious things with its hostname */
+ RS_RET_ACCEPT_ERR = -2074, /**< error during accept() system call */
+ RS_RET_INVALID_HNAME = -2075, /**< remote peer's hostname invalid or unobtainable */
+ RS_RET_INVALID_PORT = -2076, /**< invalid port value */
+ RS_RET_COULD_NOT_BIND = -2077, /**< could not bind socket, defunct */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */