X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/045febe057cdab268bf1d2aedae1f6db9333672d..39e5ef41a8d6efee0966e7d2cf2d1fad4e76d340:/src/surf/surf_private.h?ds=sidebyside diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index ca40937ac2..feae32af67 100644 --- a/src/surf/surf_private.h +++ b/src/surf/surf_private.h @@ -16,6 +16,11 @@ #define NO_MAX_DURATION -1.0 +typedef enum { + SURF_NETWORK_LINK_ON = 1, /* Ready */ + SURF_NETWORK_LINK_OFF = 0 /* Running */ +} e_surf_network_link_state_t; + typedef struct surf_resource_private { int (*resource_used) (void *resource_id); /* Share the resources to the actions and return in hom much time