summaryrefslogtreecommitdiffstats
path: root/tcpsyslog.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-27 17:32:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-27 17:32:10 +0000
commitbcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f (patch)
tree7461da3b71b32125a1bb74c7a0d2fa95f2921bfd /tcpsyslog.c
parentcebbf6d44ef277c7349fec19e70f93915b351e2a (diff)
downloadrsyslog-bcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f.tar.gz
rsyslog-bcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f.tar.xz
rsyslog-bcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f.zip
internal restructuring in omfwd.c - stage work for further modularization I
think I also fixed a bug as a side-effect - but not looked to much at it
Diffstat (limited to 'tcpsyslog.c')
-rw-r--r--tcpsyslog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcpsyslog.c b/tcpsyslog.c
index b07b2fb8..85ff2566 100644
--- a/tcpsyslog.c
+++ b/tcpsyslog.c
@@ -744,6 +744,7 @@ int TCPSessDataRcvd(int iTCPSess, char *pData, int iLen)
#ifdef USE_GSSAPI
+/* returns 0 if all went OK, -1 if it failed */
int TCPSessGSSInit(void)
{
gss_buffer_desc name_buf;
@@ -775,6 +776,7 @@ int TCPSessGSSInit(void)
}
+/* returns 0 if all went OK, -1 if it failed */
int TCPSessGSSAccept(int fd)
{
gss_buffer_desc send_tok, recv_tok;
@@ -937,6 +939,7 @@ int TCPSessGSSAccept(int fd)
}
+/* returns: ? */
int TCPSessGSSRecv(int iSess, void *buf, size_t buf_len)
{
gss_buffer_desc xmit_buf, msg_buf;