-#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"