summaryrefslogtreecommitdiff
path: root/src/ivyloop.c
diff options
context:
space:
mode:
authorchatty1998-12-22 10:16:42 +0000
committerchatty1998-12-22 10:16:42 +0000
commit5203ffb335095327793b3b2d6bdadfb657fda52a (patch)
tree9715603633a9665d935a3ac5b7bb56d41c10509f /src/ivyloop.c
parentc86c53b326d5f35a6ad205720fcae9b1c0e1e8ff (diff)
downloadivy-c-5203ffb335095327793b3b2d6bdadfb657fda52a.zip
ivy-c-5203ffb335095327793b3b2d6bdadfb657fda52a.tar.gz
ivy-c-5203ffb335095327793b3b2d6bdadfb657fda52a.tar.bz2
ivy-c-5203ffb335095327793b3b2d6bdadfb657fda52a.tar.xz
Mise au propre
Diffstat (limited to 'src/ivyloop.c')
-rw-r--r--src/ivyloop.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ivyloop.c b/src/ivyloop.c
index e02800c..92f6301 100644
--- a/src/ivyloop.c
+++ b/src/ivyloop.c
@@ -1,3 +1,16 @@
+/*
+ *
+ * Ivy, C interface
+ *
+ * Copyright 1997-1998
+ * Centre d'Etudes de la Navigation Aerienne
+ *
+ * Main loop handling around select
+ *
+ * $Id$
+ *
+ */
+
#ifdef WIN32
#include <windows.h>
#endif
@@ -108,6 +121,7 @@ static void BusLoopChannelHandleRead(fd_set *current)
}
}
}
+
static void BusLoopChannelHandleExcpt(fd_set *current)
{
Channel channel,next;
@@ -147,6 +161,7 @@ void BusLoopChannelStop(void)
{
MainLoop = 0;
}
+
void BusLoopChannelMainLoop(void(*hook)(void))
{