summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-28 14:14:52 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-28 14:14:52 +0000
commit505706d958e17ef729e15c24d58305b8dff198a9 (patch)
treeeab80066125f8a5637389409d532f955b8f37f5b /rsyslog.h
parentbcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f (diff)
downloadrsyslog-505706d958e17ef729e15c24d58305b8dff198a9.tar.gz
rsyslog-505706d958e17ef729e15c24d58305b8dff198a9.tar.xz
rsyslog-505706d958e17ef729e15c24d58305b8dff198a9.zip
took TCPSend() apart and made it generic via function pointers
Diffstat (limited to 'rsyslog.h')
-rw-r--r--rsyslog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rsyslog.h b/rsyslog.h
index cf950d98..20bbf1ef 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -89,6 +89,10 @@ 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_NO_KERNEL_LOGSRC = -2022, /**< no source for kernel logs can be obtained */
+ RS_RET_TCP_SEND_ERROR = -2023, /**< error during TCP send process */
+ RS_RET_GSS_SEND_ERROR = -2024, /**< error during GSS (via TCP) send process */
+ RS_RET_TCP_SOCKCREATE_ERR = -2025, /**< error during creation of TCP socket */
+ RS_RET_GSS_SENDINIT_ERROR = -2024, /**< error during GSS (via TCP) send initialization process */
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 */