summaryrefslogtreecommitdiff
path: root/src/timer.h
diff options
context:
space:
mode:
authorchatty1998-12-22 10:16:42 +0000
committerchatty1998-12-22 10:16:42 +0000
commit5203ffb335095327793b3b2d6bdadfb657fda52a (patch)
tree9715603633a9665d935a3ac5b7bb56d41c10509f /src/timer.h
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/timer.h')
-rw-r--r--src/timer.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/timer.h b/src/timer.h
index 7aa425f..b36838c 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -1,9 +1,22 @@
+/*
+ *
+ * Ivy, C interface
+ *
+ * Copyright 1997-1998
+ * Centre d'Etudes de la Navigation Aerienne
+ *
+ * Timers for select-based main loop
+ *
+ * $Id$
+ *
+ */
+
/* Module de gestion des timers autour d'un select */
typedef struct _timer *TimerId;
typedef void (*TimerCb)( TimerId id , void *user_data, unsigned long delta );
-/* API le temp est en milli secondes */
+/* API le temps est en millisecondes */
#define TIMER_LOOP -1 /* timer en boucle infinie */
TimerId TimerRepeatAfter( int count, long time, TimerCb cb, void *user_data );