diff options
author | fcolin | 2005-08-10 09:52:18 +0000 |
---|---|---|
committer | fcolin | 2005-08-10 09:52:18 +0000 |
commit | c271c5a2383450c2a39e126ebef38d8dd2e2f8e6 (patch) | |
tree | 46eaf3e4a9fc79a47bfd9e8942cef981908f304f /src/ivysocket.h | |
parent | b0954d7461dc709cd1a43097c260c8e8b0183cee (diff) | |
download | ivy-c-c271c5a2383450c2a39e126ebef38d8dd2e2f8e6.zip ivy-c-c271c5a2383450c2a39e126ebef38d8dd2e2f8e6.tar.gz ivy-c-c271c5a2383450c2a39e126ebef38d8dd2e2f8e6.tar.bz2 ivy-c-c271c5a2383450c2a39e126ebef38d8dd2e2f8e6.tar.xz |
remplacement argc argv par IvyArgument
Diffstat (limited to 'src/ivysocket.h')
-rw-r--r-- | src/ivysocket.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ivysocket.h b/src/ivysocket.h index f5ac390..b491f0f 100644 --- a/src/ivysocket.h +++ b/src/ivysocket.h @@ -45,10 +45,6 @@ extern "C" { /* General Init */ -/* utility fonction do make vsprintf without buffer limit */ -extern int make_message(char ** buffer, int *size, int offset, const char *fmt, va_list ap); -extern int make_message_var(char ** buffer, int *size, int offset, const char *fmt, ...); - /* Forward def */ typedef struct _client *Client; typedef char* (*SocketInterpretation) (Client client, void *data, char *ligne, unsigned int len); @@ -67,8 +63,7 @@ extern void SocketServerClose( Server server ); /* Client Part */ extern void SocketKeepAlive( Client client,int keepalive ); extern void SocketClose( Client client ); -extern void SocketSendFmt( Client client, const char *fmt, ... ); -extern void SocketSendBuf( Client client, const char *buffer, int len ); +extern void SocketSend( Client client, const char *buffer, int len ); extern void SocketFlush (Client client); extern char *SocketGetPeerHost( Client client ); extern void SocketSetData( Client client, void *data ); @@ -98,8 +93,7 @@ extern int SocketAddMember( Client client, unsigned long host ); extern struct in_addr * SocketGetRemoteAddr( Client client ); extern void SocketGetRemoteHost (Client client, char **host, unsigned short *port ); /* emmission d'un broadcast UDP */ -extern void SocketSendBroadcast( Client client, unsigned long host, unsigned short port, char *fmt, ... ); -extern void SocketSendBroadcastRaw( Client client, unsigned long host, unsigned short port, char *buffer, int len ); +extern void SocketSendBroadcast( Client client, unsigned long host, unsigned short port, char *buffer, int len ); #ifdef __cplusplus } |