diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-28 14:34:48 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-28 14:34:48 +0000 |
commit | 1990c08536f3880053508ab6b60aab8cee9760ec (patch) | |
tree | 0e438a315895c6b5754d152c121b2ec7be757fc9 /tcpsyslog.h | |
parent | 505706d958e17ef729e15c24d58305b8dff198a9 (diff) | |
download | rsyslog-1990c08536f3880053508ab6b60aab8cee9760ec.tar.gz rsyslog-1990c08536f3880053508ab6b60aab8cee9760ec.tar.xz rsyslog-1990c08536f3880053508ab6b60aab8cee9760ec.zip |
moved TCPSend() and frame building code to tcpsyslog.c
Diffstat (limited to 'tcpsyslog.h')
-rw-r--r-- | tcpsyslog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tcpsyslog.h b/tcpsyslog.h index efdb30a9..09f61d5a 100644 --- a/tcpsyslog.h +++ b/tcpsyslog.h @@ -74,6 +74,12 @@ void TCPSessGSSClose(int sess); void TCPSessGSSDeinit(void); #endif +/* TCP Send support (shall go into its own module later) */ +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: |