X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a8cd62135619ad52e05ae1c929ef07e166e4260..831de10adaaf8910940aa280e2ac2dd075b5ffe5:/src/bindings/lua/simgrid_lua.h diff --git a/src/bindings/lua/simgrid_lua.h b/src/bindings/lua/simgrid_lua.h index 2400d7f37a..289974f6b2 100644 --- a/src/bindings/lua/simgrid_lua.h +++ b/src/bindings/lua/simgrid_lua.h @@ -1,30 +1,15 @@ +/* Copyright (c) 2010-2014. The SimGrid Team. + * All rights reserved. */ + /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef SIMGRID_LUA_H #define SIMGRID_LUA_H -#include "xbt/dict.h" -#include "xbt/dynar.h" +extern "C" { #include -extern xbt_dynar_t process_list; -extern xbt_dict_t machine_set; - -typedef struct s_process_t { - int argc; - char **argv; - char *host; -} s_process_t; - -void s_process_free(void *process); - -/* UNIX files */ -void generate_sim(const char *project); -void generate_rl(const char *project); -void generate_makefile_am(const char *project); -void generate_makefile_local(const char *project); - /* ********************************************************************************* */ /* Plaftorm functions */ /* ********************************************************************************* */ @@ -32,13 +17,16 @@ void generate_makefile_local(const char *project); int console_open(lua_State *L); int console_close(lua_State *L); +int console_add_backbone(lua_State*); +int console_add_host___link(lua_State*); int console_add_host(lua_State*); int console_add_link(lua_State*); int console_add_router(lua_State* L); int console_add_route(lua_State*); +int console_add_ASroute(lua_State*); int console_AS_open(lua_State*); -int console_AS_close(lua_State *L); +int console_AS_seal(lua_State *L); int console_set_function(lua_State*); int console_host_set_property(lua_State*); - +} #endif /* SIMGRID_LUA_H */