X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3af8b430269d158689ad7cdef5b5e54df8360a1..73675e42db8dbddfc754d7179b332445f13fae09:/include/simdag/datatypes.h diff --git a/include/simdag/datatypes.h b/include/simdag/datatypes.h index f21af30453..571d1aa52f 100644 --- a/include/simdag/datatypes.h +++ b/include/simdag/datatypes.h @@ -1,40 +1,2 @@ -#ifndef SIMDAG_DATATYPES_H -#define SIMDAG_DATATYPES_H - -/* Link */ -typedef struct SG_link { - void *data; - char *name; - /*double capacity;*/ - /*double current_bandwidth; - double current_latency;*/ -} s_SG_link_t, *SG_link_t; - -/* Workstation */ -typedef struct SG_workstation { - void *data; - char *name; - /*double power; - double available_power;*/ - /* TODO: route */ -} s_SG_workstation_t, *SG_workstation_t; - -/* Task state */ -typedef enum { - SG_SCHEDULED, - SG_RUNNING, - SG_DONE, - SG_FAILED -} SG_task_state_t; - -/* Task */ -typedef struct SG_task { - void *data; - char *name; - /*double amount; - double remaining_amount;*/ - SG_task_state_t state; - /* TODO: dependencies + watch */ -} s_SG_task_t, *SG_task_t; - -#endif +#warning You should now include directly simgrid/simdag.h instead of simdag/datatypes.h +#include "simgrid/simdag.h"