X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2539fff313cbd67c45b8490f7961e45e358d9ba2..2376a01092173679830310f4d57b267445959f97:/src/xbt_modinter.h?ds=sidebyside diff --git a/src/xbt_modinter.h b/src/xbt_modinter.h index f2b13fec4c..988f5f48a5 100644 --- a/src/xbt_modinter.h +++ b/src/xbt_modinter.h @@ -1,18 +1,38 @@ -/* $Id$ */ +/* xbt_modinter - How to init/exit the XBT modules */ -/* xbt_modinter - Interface to XBT modules */ - -/* Authors: Martin Quinson */ -/* Copyright (C) 2004 Martin Quinson. */ +/* Copyright (c) 2004-2010, 2012-2015. 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. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef XBT_MODINTER_H #define XBT_MODINTER_H +#include "xbt/misc.h" + +SG_BEGIN_DECL() /* Modules definitions */ -void gras_log_init(void); -void xbt_log_exit(void); +void xbt_backtrace_preinit(void); +void xbt_backtrace_postexit(void); + +void xbt_log_preinit(void); +void xbt_log_init(int *argc, char **argv); +void xbt_log_postexit(void); + +void xbt_fifo_preinit(void); +void xbt_fifo_postexit(void); +void xbt_dict_preinit(void); +void xbt_dict_postexit(void); + +void xbt_os_thread_mod_preinit(void); +void xbt_os_thread_mod_postexit(void); + +void *mmalloc_preinit(void); +void mmalloc_postexit(void); + +extern int smx_cleaned; +extern int xbt_initialized; -#endif /* XBT_MODINTER_H */ +SG_END_DECL() +#endif /* XBT_MODINTER_H */