X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad5365a072943b2b0bacc486fa504e93a99ea940..f57edc1d5b4f497883b451fc85d2d653d27a8247:/include/gras/timer.h diff --git a/include/gras/timer.h b/include/gras/timer.h index e1af19f978..fa6e7c0012 100644 --- a/include/gras/timer.h +++ b/include/gras/timer.h @@ -1,9 +1,8 @@ -/* $Id$ */ - /* timer - delayed and repetitive tasks */ /* module's public interface exported to end user. */ -/* Copyright (c) 2005 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2005, 2006, 2007, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -36,20 +35,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); - 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); - - 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); +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); - XBT_PUBLIC(void) gras_timer_cancel_delay_all(void); - XBT_PUBLIC(void) gras_timer_cancel_repeat_all(void); +XBT_PUBLIC(void) gras_timer_cancel_delay_all(void); +XBT_PUBLIC(void) gras_timer_cancel_repeat_all(void); - XBT_PUBLIC(void) gras_timer_cancel_all(void); +XBT_PUBLIC(void) gras_timer_cancel_all(void); /** @} */ SG_END_DECL() - -#endif /* GRAS_TIMER_H */ +#endif /* GRAS_TIMER_H */