X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eed8daedf7c2d58e0db96826205f138cedb9cc5a..cb2c5c40e71782129ef41858a6685350e503d4d7:/include/gras/timer.h
diff --git a/include/gras/timer.h b/include/gras/timer.h
index 00afd4d51f..7e61237bc9 100644
--- a/include/gras/timer.h
+++ b/include/gras/timer.h
@@ -16,11 +16,7 @@
SG_BEGIN_DECL()
/** @addtogroup GRAS_timer
- * @brief Delayed and repetitive tasks (Communication facility)
- *
- *
Top | [\ref index]::[\ref GRAS_API]
- * |
Prev | [\ref GRAS_msg]
- * |
Next | [\ref GRAS_virtu] |
+ * @brief Delayed and repetitive tasks
*
* This is how to have a specific function called only once after the
* specified amount of time or a function executed every 5 mn until it gets
@@ -40,22 +36,20 @@ SG_BEGIN_DECL()
*
* @{
*/
+XBT_PUBLIC(void) gras_timer_delay(double delay, void_f_void_t action);
+XBT_PUBLIC(void) gras_timer_repeat(double interval, void_f_void_t action);
- typedef void (*void_f_void_t)(void);
-
- void gras_timer_delay(double delay, void_f_void_t action);
- void gras_timer_repeat(double interval, void_f_void_t action);
+XBT_PUBLIC(void) gras_timer_cancel_delay(double interval,
+ void_f_void_t action);
+XBT_PUBLIC(void) gras_timer_cancel_repeat(double interval,
+ void_f_void_t action);
- void gras_timer_cancel_delay(double interval, void_f_void_t action);
- void gras_timer_cancel_repeat(double interval, void_f_void_t action);
+XBT_PUBLIC(void) gras_timer_cancel_delay_all(void);
+XBT_PUBLIC(void) gras_timer_cancel_repeat_all(void);
- void gras_timer_cancel_delay_all(void);
- void gras_timer_cancel_repeat_all(void);
-
- void gras_timer_cancel_all(void);
+XBT_PUBLIC(void) gras_timer_cancel_all(void);
/** @} */
SG_END_DECL()
-
#endif /* GRAS_TIMER_H */