Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
no need for a lib to store the netcards. A dict is easier
[simgrid.git] / src / xbt_modinter.h
index ad4100a..bb4fd30 100644 (file)
@@ -1,6 +1,6 @@
 /* xbt_modinter - How to init/exit the XBT modules                          */
 
-/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
+/* 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
@@ -10,9 +10,9 @@
 #define XBT_MODINTER_H
 #include "xbt/misc.h"
 
+SG_BEGIN_DECL()
+
 /* Modules definitions */
-void xbt_backtrace_preinit(void);
-void xbt_backtrace_postexit(void);
 
 void xbt_log_preinit(void);
 void xbt_log_init(int *argc, char **argv);
@@ -26,8 +26,11 @@ 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_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 */