X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6760cb07d6b57be16928d95339d71e57c4e24f36..96cedde3cdbc0b8ffc3f096a1b65d021b0226f99:/src/xbt_modinter.h diff --git a/src/xbt_modinter.h b/src/xbt_modinter.h index 7ad2c4fe8d..6dcb224171 100644 --- a/src/xbt_modinter.h +++ b/src/xbt_modinter.h @@ -1,7 +1,6 @@ /* xbt_modinter - How to init/exit the XBT modules */ -/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2004-2019. 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. */ @@ -10,16 +9,25 @@ #define XBT_MODINTER_H #include "xbt/misc.h" +SG_BEGIN_DECL() + /* Modules definitions */ -void xbt_backtrace_init(void); -void xbt_backtrace_exit(void); -void xbt_log_init(int *argc, char **argv); -void xbt_log_exit(void); -void xbt_fifo_exit(void); -void xbt_dict_exit(void); +void xbt_log_preinit(void); +void xbt_log_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; -void xbt_os_thread_mod_init(void); -void xbt_os_thread_mod_exit(void); +SG_END_DECL() -#endif /* XBT_MODINTER_H */ +#endif