X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8afc2600f02d2978910a7e4f5d59895de33604be..ad5365a072943b2b0bacc486fa504e93a99ea940:/src/include/surf/trace_mgr.h diff --git a/src/include/surf/trace_mgr.h b/src/include/surf/trace_mgr.h index 0f2c9e66b9..a6420463d7 100644 --- a/src/include/surf/trace_mgr.h +++ b/src/include/surf/trace_mgr.h @@ -17,25 +17,25 @@ typedef struct tmgr_trace *tmgr_trace_t; typedef struct tmgr_trace_event *tmgr_trace_event_t; /* Creation functions */ -XBT_PUBLIC tmgr_history_t tmgr_history_new(void); -XBT_PUBLIC void tmgr_history_free(tmgr_history_t history); +XBT_PUBLIC(tmgr_history_t) tmgr_history_new(void); +XBT_PUBLIC(void) tmgr_history_free(tmgr_history_t history); -XBT_PUBLIC tmgr_trace_t tmgr_trace_new(const char *filename); -XBT_PUBLIC tmgr_trace_t tmgr_empty_trace_new(void); -XBT_PUBLIC void tmgr_trace_free(tmgr_trace_t trace); +XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new(const char *filename); +XBT_PUBLIC(tmgr_trace_t) tmgr_empty_trace_new(void); +XBT_PUBLIC(void) tmgr_trace_free(tmgr_trace_t trace); -XBT_PUBLIC tmgr_trace_event_t tmgr_history_add_trace(tmgr_history_t history, +XBT_PUBLIC(tmgr_trace_event_t) tmgr_history_add_trace(tmgr_history_t history, tmgr_trace_t trace, double start_time, int offset, void *resource); /* Access functions */ -XBT_PUBLIC double tmgr_history_next_date(tmgr_history_t history); -XBT_PUBLIC tmgr_trace_event_t tmgr_history_get_next_event_leq(tmgr_history_t history, +XBT_PUBLIC(double) tmgr_history_next_date(tmgr_history_t history); +XBT_PUBLIC(tmgr_trace_event_t) tmgr_history_get_next_event_leq(tmgr_history_t history, double date, double *value, void **resource); -XBT_PUBLIC void tmgr_finalize(void); +XBT_PUBLIC(void) tmgr_finalize(void); #endif /* _SURF_TMGR_H */