From ee2e694ebba179f1c75764a7311df717fa3925cd Mon Sep 17 00:00:00 2001 From: bustico Date: Wed, 6 Feb 2008 16:32:54 +0000 Subject: * fix realloc buffer size when big message * complete change of internal structures for performance optimisation * experimental parralelized version for performance optimisation (use and need openmp) which scale well for regexp matching on multicore/multi processor gear. --- src/ivysocket.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ivysocket.h') diff --git a/src/ivysocket.h b/src/ivysocket.h index c656312..604e65f 100644 --- a/src/ivysocket.h +++ b/src/ivysocket.h @@ -66,7 +66,8 @@ extern void SocketServerClose( Server server ); extern void SocketClose( Client client ); extern int SocketSend( Client client, char *fmt, ... ); -extern int SocketSendRaw( Client client, char *buffer, int len ); +extern int SocketSendRaw( const Client client, const char *buffer, const int len ); +extern int SocketSendRawWithId( const Client client, const char *id, const char *buffer, const int len ); extern char *SocketGetPeerHost( Client client ); extern void SocketSetData( Client client, void *data ); extern void *SocketGetData( Client client ); -- cgit v1.1