Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
code simplification around simgrid::surf::NetCardImpl
[simgrid.git] / src / xbt_modinter.h
index 1064e47..4d9dfd7 100644 (file)
@@ -1,8 +1,7 @@
-/* $Id$ */
-
 /* xbt_modinter - How to init/exit the XBT modules                          */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* 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. */
 #define XBT_MODINTER_H
 #include "xbt/misc.h"
 
+SG_BEGIN_DECL()
+
 /* Modules definitions */
-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_context_init(void);
-void xbt_context_exit(void);
-
-void xbt_os_thread_mod_init(void);
-void xbt_os_thread_mod_exit(void);   
-   
-#endif /* XBT_MODINTER_H */
+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;
+
+
+SG_END_DECL()
+
+#endif                          /* XBT_MODINTER_H */