X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/52900c044364c36cf24bc401ed0aa3d208f71b34..cc833b427007a1cfc81448b46cce97981efaaf71:/src/bindings/lua/simgrid_lua.h?ds=sidebyside diff --git a/src/bindings/lua/simgrid_lua.h b/src/bindings/lua/simgrid_lua.h index 3bbca15fbc..527e4b80e6 100644 --- a/src/bindings/lua/simgrid_lua.h +++ b/src/bindings/lua/simgrid_lua.h @@ -1,8 +1,8 @@ /* 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 GRAS_STUB_GENERATOR_H -#define GRAS_STUB_GENERATOR_H +#ifndef SIMGRID_LUA_H +#define SIMGRID_LUA_H #include #include @@ -22,10 +22,9 @@ #include "portable.h" /* Needed for the time of the SIMIX convertion */ #include - -xbt_dict_t process_function_set; -xbt_dynar_t process_list; -xbt_dict_t machine_set; +extern xbt_dict_t process_function_set; +extern xbt_dynar_t process_list; +extern xbt_dict_t machine_set; typedef struct s_process_t { int argc; @@ -33,8 +32,6 @@ typedef struct s_process_t { char *host; } s_process_t; -char *warning; - void s_process_free(void *process); /* UNIX files */ @@ -71,6 +68,7 @@ typedef struct t_host_attr { //deployment attribute const char *function; xbt_dynar_t args_list; + xbt_dict_t properties; } host_attr, *p_host_attr; @@ -106,9 +104,10 @@ int console_add_link(lua_State*); int console_add_route(lua_State*); int console_add_AS(lua_State*); int console_set_function(lua_State*); +int console_host_set_property(lua_State*); int console_parse_platform(void); int console_parse_application(void); int console_parse_platform_wsL07(void); -#endif +#endif /* SIMGRID_LUA_H */