Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a bit of simplification
[simgrid.git] / src / msg / msg_environment.cpp
1 /* Copyright (c) 2004-2017. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #include "simgrid/msg.h"
7
8 #if SIMGRID_HAVE_LUA
9 #include <lua.h>
10 #include <lauxlib.h>
11 #include <lualib.h>
12 #endif
13
14 extern "C" {
15
16 /********************************* MSG **************************************/
17
18 /** \ingroup msg_simulation
19  * \brief A platform constructor.
20  *
21  * Creates a new platform, including hosts, links and the routing_table.
22  * \param file a filename of a xml description of a platform. This file follows this DTD :
23  *
24  *     \include simgrid.dtd
25  *
26  * Here is a small example of such a platform
27  *
28  *     \include small_platform.xml
29  *
30  * Have a look in the directory examples/msg/ to have a big example.
31  */
32 void MSG_create_environment(const char *file)
33 {
34   SIMIX_create_environment(file);
35 }
36
37 }