From c271c5a2383450c2a39e126ebef38d8dd2e2f8e6 Mon Sep 17 00:00:00 2001 From: fcolin Date: Wed, 10 Aug 2005 09:52:18 +0000 Subject: remplacement argc argv par IvyArgument --- src/ivysocket.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/ivysocket.h') 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 } -- cgit v1.1