Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
small cleanups in dijkstra
[simgrid.git] / src / xbt_modinter.h
1 /* xbt_modinter - How to init/exit the XBT modules                          */
2
3 /* Copyright (c) 2004-2010, 2012-2015. The SimGrid Team.
4  * All rights reserved.                                                     */
5
6 /* This program is free software; you can redistribute it and/or modify it
7  * under the terms of the license (GNU LGPL) which comes with this package. */
8
9 #ifndef XBT_MODINTER_H
10 #define XBT_MODINTER_H
11 #include "xbt/misc.h"
12
13 SG_BEGIN_DECL()
14
15 /* Modules definitions */
16 void xbt_backtrace_preinit(void);
17 void xbt_backtrace_postexit(void);
18
19 void xbt_log_preinit(void);
20 void xbt_log_init(int *argc, char **argv);
21 void xbt_log_postexit(void);
22
23 void xbt_fifo_preinit(void);
24 void xbt_fifo_postexit(void);
25 void xbt_dict_preinit(void);
26 void xbt_dict_postexit(void);
27
28 void xbt_os_thread_mod_preinit(void);
29 void xbt_os_thread_mod_postexit(void);
30
31 void *mmalloc_preinit(void);
32 void mmalloc_postexit(void);
33
34 extern int smx_cleaned;
35 extern int xbt_initialized;
36
37
38 SG_END_DECL()
39
40 #endif                          /* XBT_MODINTER_H */