diff options
author | fcolin | 2005-05-26 14:37:35 +0000 |
---|---|---|
committer | fcolin | 2005-05-26 14:37:35 +0000 |
commit | fbc04d171cd11ec16b9141dda95699323762a00b (patch) | |
tree | f2452251df738bc7d1995c636fd06e82e8f90c10 /src/ivyxtloop.c | |
parent | deaa6a5ec82c1d158caf360fd12672f72d7dae5b (diff) | |
download | ivy-c-fbc04d171cd11ec16b9141dda95699323762a00b.zip ivy-c-fbc04d171cd11ec16b9141dda95699323762a00b.tar.gz ivy-c-fbc04d171cd11ec16b9141dda95699323762a00b.tar.bz2 ivy-c-fbc04d171cd11ec16b9141dda95699323762a00b.tar.xz |
passage du separateur de message a \0
suppression des fonctions IvyChannel dynamique on se repose sur le linker
modif des adresses mails
Diffstat (limited to 'src/ivyxtloop.c')
-rw-r--r-- | src/ivyxtloop.c | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/src/ivyxtloop.c b/src/ivyxtloop.c index 2764fe4..32094e9 100644 --- a/src/ivyxtloop.c +++ b/src/ivyxtloop.c @@ -6,8 +6,8 @@ * * Main loop based on the X Toolkit * - * Authors: François-Régis Colin <fcolin@cena.dgac.fr> - * Stéphane Chatty <chatty@cena.dgac.fr> + * Authors: François-Régis Colin <fcolin@cena.fr> + * Stéphane Chatty <chatty@cena.fr> * * $Id$ * @@ -56,12 +56,8 @@ static int channel_initialized = 0; static XtAppContext app = NULL; -ChannelInit channel_init = IvyXtChannelInit; -ChannelSetUp channel_setup = IvyXtChannelSetUp; -ChannelClose channel_close = IvyXtChannelClose; - -void IvyXtChannelInit(void) +void IvyChannelInit(void) { if ( channel_initialized ) return; @@ -79,7 +75,7 @@ void IvyXtChannelInit(void) channel_initialized = 1; } -void IvyXtChannelClose( Channel channel ) +void IvyChannelClose( Channel channel ) { if ( channel->handle_delete ) @@ -87,7 +83,9 @@ void IvyXtChannelClose( Channel channel ) XtRemoveInput( channel->id_read ); XtRemoveInput( channel->id_delete ); } - +void IvyChannelStop() +{ +} static void IvyXtHandleChannelRead( XtPointer closure, int* source, XtInputId* id ) { @@ -113,7 +111,7 @@ void IvyXtChannelAppContext( XtAppContext cntx ) app = cntx; } -Channel IvyXtChannelSetUp(HANDLE fd, void *data, +Channel IvyChannelOpen(HANDLE fd, void *data, ChannelHandleDelete handle_delete, ChannelHandleRead handle_read ) @@ -136,11 +134,7 @@ Channel IvyXtChannelSetUp(HANDLE fd, void *data, return channel; } - - -void -IvyStop () +void IvyMainLoop(void(*hook)(void)) { - /* To be implemented */ -} - + XtAppMainLoop (app); +}
\ No newline at end of file |