X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96f99f2c43f129472ec7603caef3e370be91e13e..ca7838c3440b5dab4545fc2ebdfc52ff0717cf3a:/include/simdag/datatypes.h diff --git a/include/simdag/datatypes.h b/include/simdag/datatypes.h index 72eaa757f6..8490f8b5f0 100644 --- a/include/simdag/datatypes.h +++ b/include/simdag/datatypes.h @@ -2,20 +2,13 @@ #define SIMDAG_DATATYPES_H /* Link */ -typedef struct SD_link_data *SD_link_data_t; - -typedef struct SD_link { - SD_link_data_t sd_data; /* SD internal data */ - void *data; /* user data */ -} s_SD_link_t, *SD_link_t; +typedef struct SD_link *SD_link_t; /* Workstation */ -typedef struct SD_workstation_data *SD_workstation_data_t; +typedef struct SD_workstation *SD_workstation_t; -typedef struct SD_workstation { - SD_workstation_data_t sd_data; /* SD internal data */ - void *data; /* user data */ -} s_SD_workstation_t, *SD_workstation_t; +/* Task */ +typedef struct SD_task *SD_task_t; /* Task state */ typedef enum { @@ -26,7 +19,4 @@ typedef enum { SD_FAILED = 0x0008 } e_SD_task_state_t; -/* Task */ -typedef struct SD_task *SD_task_t; - #endif