From fbc04d171cd11ec16b9141dda95699323762a00b Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 26 May 2005 14:37:35 +0000 Subject: passage du separateur de message a \0 suppression des fonctions IvyChannel dynamique on se repose sur le linker modif des adresses mails --- src/ivychannel.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/ivychannel.h') diff --git a/src/ivychannel.h b/src/ivychannel.h index fa498b4..b2c3eb2 100644 --- a/src/ivychannel.h +++ b/src/ivychannel.h @@ -6,7 +6,7 @@ * * Basic I/O handling * - * Authors: François-Régis Colin + * Authors: François-Régis Colin * * $Id$ * @@ -37,10 +37,12 @@ typedef void (*ChannelHandleDelete)( void *data ); typedef void (*ChannelHandleRead)( Channel channel, HANDLE fd, void *data); /* fonction appele par le bus pour initialisation */ -typedef void (*ChannelInit)(void); +extern void IvyChannelInit(void); +/* fonction appele par le bus pour terminaison */ +extern void IvyChannelStop(void); /* fonction appele par le bus pour mise en place des callback sur le canal */ -typedef Channel (*ChannelSetUp)( +extern Channel IvyChannelOpen( HANDLE fd, void *data, ChannelHandleDelete handle_delete, @@ -48,11 +50,7 @@ typedef Channel (*ChannelSetUp)( ); /* fonction appele par le bus pour fermeture du canal */ -typedef void (*ChannelClose)( Channel channel ); - -extern ChannelInit channel_init; -extern ChannelClose channel_close; -extern ChannelSetUp channel_setup; +extern void IvyChannelClose( Channel channel ); #ifdef __cplusplus } -- cgit v1.1