Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make private structures SD_link and SD_workstation
[simgrid.git] / include / simdag / datatypes.h
1 #ifndef SIMDAG_DATATYPES_H
2 #define SIMDAG_DATATYPES_H
3
4 /* Link */
5 typedef struct SD_link *SD_link_t;
6
7 /* Workstation */
8 typedef struct SD_workstation *SD_workstation_t;
9
10 /* Task */
11 typedef struct SD_task *SD_task_t;
12
13 /* Task state */
14 typedef enum {
15   SD_NOT_SCHEDULED = 0, /* 0 because SD_NOT_SCHEDULED is not a valid state for SD_watch and SD_unwatch */
16   SD_SCHEDULED =     0x0001,
17   SD_RUNNING =       0x0002,
18   SD_DONE =          0x0004,
19   SD_FAILED =        0x0008 
20 } e_SD_task_state_t;
21
22 #endif