Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of github.com:THEpini/simgrid
[simgrid.git] / src / bindings / lua / simgrid_lua.h
index 932dff6..3bbca15 100644 (file)
@@ -50,6 +50,11 @@ void generate_makefile_local(const char *project);
 typedef struct t_AS_attr {
   const char *id;
   const char *mode;
+  xbt_dynar_t host_list_d;
+  xbt_dynar_t link_list_d;
+  xbt_dynar_t route_list_d;
+  xbt_dynar_t router_list_d;
+  xbt_dynar_t sub_as_list_id;
 } AS_attr, *p_AS_attr;
 
 typedef struct t_host_attr {
@@ -62,6 +67,7 @@ typedef struct t_host_attr {
   const char *power_trace;
   int state_initial;
   const char *state_trace;
+  int core;
   //deployment attribute
   const char *function;
   xbt_dynar_t args_list;
@@ -89,6 +95,10 @@ typedef struct t_route_attr {
 
 } route_attr, *p_route_attr;
 
+typedef struct t_router_attr {
+       const char *id;
+} router_attr, *p_router_attr;
+
 // Public Functions
 
 int console_add_host(lua_State*);