From 2cf893c0c34d50a68a27e1704b38f2facc10c9bc Mon Sep 17 00:00:00 2001 From: fcolin Date: Fri, 21 Apr 2006 15:51:55 +0000 Subject: suppression de l'indirection sur les fonction channel et renomage ! --- src/ivychannel.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/ivychannel.h') diff --git a/src/ivychannel.h b/src/ivychannel.h index fa498b4..31a17aa 100644 --- a/src/ivychannel.h +++ b/src/ivychannel.h @@ -37,22 +37,19 @@ 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 mise en place des callback sur le canal */ -typedef Channel (*ChannelSetUp)( +extern Channel IvyChannelAdd( HANDLE fd, void *data, ChannelHandleDelete handle_delete, ChannelHandleRead handle_read ); -/* fonction appele par le bus pour fermeture du canal */ -typedef void (*ChannelClose)( Channel channel ); +/* fonction appele par le bus pour suppression des callback sur le canal */ +extern void IvyChannelRemove( Channel channel ); -extern ChannelInit channel_init; -extern ChannelClose channel_close; -extern ChannelSetUp channel_setup; #ifdef __cplusplus } -- cgit v1.1