1 /* This program is free software; you can redistribute it and/or modify it
2 * under the terms of the license (GNU LGPL) which comes with this package. */
11 #include "simdag/simdag.h"
14 #include "xbt/dynar.h"
16 #include "xbt/sysdep.h"
17 #include "xbt/function_types.h"
19 #include "surf/surfxml_parse.h"
20 #include "surf/surf.h"
23 extern xbt_dict_t process_function_set;
24 extern xbt_dynar_t process_list;
25 extern xbt_dict_t machine_set;
27 typedef struct s_process_t {
33 void s_process_free(void *process);
36 void generate_sim(const char *project);
37 void generate_rl(const char *project);
38 void generate_makefile_am(const char *project);
39 void generate_makefile_local(const char *project);
41 /* ********************************************************************************* */
42 /* Console functions */
43 /* ********************************************************************************* */
45 int console_open(lua_State *L);
46 int console_close(lua_State *L);
48 int console_add_host(lua_State*);
49 int console_add_link(lua_State*);
50 int console_add_router(lua_State* L);
51 int console_add_route(lua_State*);
52 int console_AS_open(lua_State*);
53 int console_AS_close(lua_State *L);
54 int console_set_function(lua_State*);
55 int console_host_set_property(lua_State*);
57 #endif /* SIMGRID_LUA_H */