summaryrefslogtreecommitdiffstats
path: root/tcpsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-28 17:52:37 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-28 17:52:37 +0000
commit78544a417cbc290d56bb2e0e6a07b3f6b0a2b3af (patch)
tree969503509f332c3ad6cd20a7749ff429d3d524d2 /tcpsyslog.h
parent25f911954f1c2a72dade9dff5d1ebeb8be2d0783 (diff)
downloadrsyslog-78544a417cbc290d56bb2e0e6a07b3f6b0a2b3af.tar.gz
rsyslog-78544a417cbc290d56bb2e0e6a07b3f6b0a2b3af.tar.xz
rsyslog-78544a417cbc290d56bb2e0e6a07b3f6b0a2b3af.zip
backported rsyslog v3 omgssapi - to provide forward compatibility from v2
to v3. Will release as v1.21.2, because some field experience is needed before it becomes stable v2.
Diffstat (limited to 'tcpsyslog.h')
-rw-r--r--tcpsyslog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tcpsyslog.h b/tcpsyslog.h
index 68b4a9c1..de818df1 100644
--- a/tcpsyslog.h
+++ b/tcpsyslog.h
@@ -73,6 +73,12 @@ void TCPSessGSSClose(int sess);
void TCPSessGSSDeinit(void);
#endif
+/* TCP Send support (shall go into its own module later) */
+int TCPSendCreateSocket(struct addrinfo *addrDest);
+int TCPSend(void *pData, char *msg, size_t len, TCPFRAMINGMODE rqdFraming,
+ rsRetVal (*initFunc)(void*),
+ rsRetVal (*sendFunc)(void*, char*, size_t),
+ rsRetVal (*prepRetryFunc)(void*));
#endif /* #ifndef TCPSYSLOG_H_INCLUDED */
/*
* vi:set ai: