/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+#include "simgrid/simdag.h"
+#include "surf/surf.hpp"
#include <set>
#include <string>
#include <vector>
-#include "simgrid/simdag.h"
-#include "surf/surf.h"
#ifndef SIMDAG_PRIVATE_HPP
#define SIMDAG_PRIVATE_HPP
extern XBT_PRIVATE simgrid::sd::Global *sd_global;
/* Task */
-typedef struct SD_task {
+struct s_SD_task_t {
e_SD_task_state_t state;
void *data; /* user data */
char *name;
double *flops_amount;
double *bytes_amount;
double rate;
-} s_SD_task_t;
+};
/* SimDag private functions */
XBT_PRIVATE void SD_task_set_state(SD_task_t task, e_SD_task_state_t new_state);