]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/network_gtnets_private.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
isatty is already declared in io.h
[simgrid.git] / src / surf / network_gtnets_private.h
index bf1ecfd7bf15858ea538e87398c294fa0b3a1642..96fd252adde306c58fa18f7ef2412a8bc78567c8 100644 (file)
 #include "xbt/dict.h"
 
 typedef struct network_link_GTNETS {
-  surf_resource_t resource;    /* Any such object, added in a trace
+  surf_model_t model;  /* Any such object, added in a trace
                                   should start by this field!!! */
   /* Using this object with the public part of
-     resource does not make sense */
+     model does not make sense */
   char *name;
   double bw_current;
   double lat_current;
   int id;
+  /*holds the properties associated witht the link*/
+  xbt_dict_t properties;
 } s_network_link_GTNETS_t, *network_link_GTNETS_t;
 
 
 typedef struct network_card_GTNETS {
   char *name;
   int id;
+  /*holds the properties associated witht the card*/
+  xbt_dict_t properties;
 } s_network_card_GTNETS_t, *network_card_GTNETS_t;
 
 typedef struct surf_action_network_GTNETS {
@@ -41,6 +45,7 @@ typedef struct surf_action_network_GTNETS {
 
 extern xbt_dict_t network_card_set;
 
+
 #endif                         /* _SURF_NETWORK_PRIVATE_H */