Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #259 from simgrid/configfix
[simgrid.git] / include / xbt / virtu.h
1 /* virtu - virtualization layer for the logging to know about the actors    */
2
3 /* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved.          */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef XBT_VIRTU_H
9 #define XBT_VIRTU_H
10
11 #include <xbt/base.h>
12 #include <xbt/dynar.h>
13 #include <xbt/function_types.h>
14 #include <xbt/misc.h>
15
16 SG_BEGIN_DECL()
17
18 XBT_PUBLIC const char* xbt_procname(void);
19
20 XBT_PUBLIC int xbt_getpid(void);
21
22 /* Get the name of the UNIX process englobing the world */
23 XBT_PUBLIC_DATA char* xbt_binary_name;
24
25 /** Contains all the parameters we got from the command line (including argv[0]) */
26 XBT_PUBLIC_DATA xbt_dynar_t xbt_cmdline;
27
28 SG_END_DECL()
29 #endif /* XBT_VIRTU_H */