Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We may want to use this function in examples.
[simgrid.git] / src / surf / network_gtnets_private.h
index f712870..b6acca5 100644 (file)
@@ -11,7 +11,7 @@
 #include "xbt/dict.h"
 
 typedef struct network_link_GTNETS {
-  s_surf_resource_t generic_resource; /* Must remain first to allow casting */
+  s_surf_resource_t generic_resource;   /* Must remain first to allow casting */
   /* Using this object with the public part of
      model does not make sense */
   double bw_current;
@@ -19,11 +19,6 @@ typedef struct network_link_GTNETS {
   int id;
 } s_network_link_GTNETS_t, *network_link_GTNETS_t;
 
-typedef struct network_card_GTNETS {
-  char *name;
-  int id;
-} s_network_card_GTNETS_t, *network_card_GTNETS_t;
-
 typedef struct surf_action_network_GTNETS {
   s_surf_action_t generic_action;
   double latency;
@@ -33,7 +28,8 @@ typedef struct surf_action_network_GTNETS {
   int suspended;
 } s_surf_action_network_GTNETS_t, *surf_action_network_GTNETS_t;
 
-//extern xbt_dict_t network_card_set;
+xbt_dict_t network_card_ids;
+
 
 
-#endif /* _SURF_NETWORK_PRIVATE_H */
+#endif                          /* _SURF_NETWORK_PRIVATE_H */