From 1990c08536f3880053508ab6b60aab8cee9760ec Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 28 Dec 2007 14:34:48 +0000 Subject: moved TCPSend() and frame building code to tcpsyslog.c --- tcpsyslog.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tcpsyslog.h') 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: -- cgit