Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / include / xbt / virtu.h
1 /* virtu - virtualization layer for XBT to choose between GRAS and MSG implementation */
2
3 /* Copyright (c) 2007, 2009-2010, 2012-2014. 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_VIRTU_H__
10 #define __XBT_VIRTU_H__
11
12 #include "xbt/misc.h"
13 #include "xbt/base.h"
14 #include "xbt/function_types.h"
15 #include "xbt/dynar.h"
16
17 SG_BEGIN_DECL()
18
19 /* Get the PID of the current (simulated) process */
20 XBT_PUBLIC_DATA(int_f_void_t) xbt_getpid;
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__ */