X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad5365a072943b2b0bacc486fa504e93a99ea940..5f1dc33c9f76ee99973ba93f034f031451398ebe:/src/xbt_modinter.h diff --git a/src/xbt_modinter.h b/src/xbt_modinter.h index 99eb7a0328..f76b1a62f3 100644 --- a/src/xbt_modinter.h +++ b/src/xbt_modinter.h @@ -1,8 +1,6 @@ -/* $Id$ */ - /* xbt_modinter - How to init/exit the XBT modules */ -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2004-2017. 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. */ @@ -11,10 +9,25 @@ #define XBT_MODINTER_H #include "xbt/misc.h" +SG_BEGIN_DECL() + /* Modules definitions */ -XBT_PUBLIC(void) xbt_log_init(int *argc,char **argv); -XBT_PUBLIC(void) xbt_log_exit(void); -XBT_PUBLIC(void) xbt_fifo_exit(void); -XBT_PUBLIC(void) xbt_dict_exit(void); -#endif /* XBT_MODINTER_H */ +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; + +SG_END_DECL() + +#endif