Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[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
17 void xbt_log_preinit(void);
18 void xbt_log_init(int *argc, char **argv);
19 void xbt_log_postexit(void);
20
21 void xbt_dict_preinit(void);
22 void xbt_dict_postexit(void);
23
24 void xbt_os_thread_mod_preinit(void);
25 void xbt_os_thread_mod_postexit(void);
26
27 void *mmalloc_preinit(void);
28 void mmalloc_postexit(void);
29
30 extern int smx_cleaned;
31 extern int xbt_initialized;
32
33 SG_END_DECL()
34 #endif                          /* XBT_MODINTER_H */