diff options
author | bustico | 2008-02-06 16:32:54 +0000 |
---|---|---|
committer | bustico | 2008-02-06 16:32:54 +0000 |
commit | ee2e694ebba179f1c75764a7311df717fa3925cd (patch) | |
tree | a9da6c6d525241725597c7d641c90436239c91d9 /src/ivysocket.h | |
parent | c50b5d38c1fc5491e8c99c8a86b043d39e074acc (diff) | |
download | ivy-c-ee2e694ebba179f1c75764a7311df717fa3925cd.zip ivy-c-ee2e694ebba179f1c75764a7311df717fa3925cd.tar.gz ivy-c-ee2e694ebba179f1c75764a7311df717fa3925cd.tar.bz2 ivy-c-ee2e694ebba179f1c75764a7311df717fa3925cd.tar.xz |
* 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.
Diffstat (limited to 'src/ivysocket.h')
-rw-r--r-- | src/ivysocket.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); |