Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix windows build
[simgrid.git] / include / xbt / virtu.h
1 /* virtu - virtualization layer for the logging to know about the actors    */
2
3 /* Copyright (c) 2007-2014. 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/misc.h"
12 #include "xbt/base.h"
13 #include "xbt/function_types.h"
14 #include "xbt/dynar.h"
15
16 SG_BEGIN_DECL()
17
18 /* Get the PID of the current (simulated) process */
19 XBT_PUBLIC_DATA(int_f_void_t) xbt_getpid;
20
21 /* Get the name of the UNIX process englobing the world */
22 XBT_PUBLIC_DATA(char*) xbt_binary_name;
23
24 /** Contains all the parameters we got from the command line (including argv[0]) */
25 XBT_PUBLIC_DATA(xbt_dynar_t) xbt_cmdline;
26
27 SG_END_DECL()
28 #endif /* XBT_VIRTU_H */