#include <xbt.h> /* our toolbox */
+typedef struct tmgr_trace *tmgr_trace_t; /**< Opaque structure defining an availability trace */
+
+/** Defines whether a given resource is working or not */
+typedef enum {
+ SURF_RESOURCE_ON = 1, /**< Up & ready */
+ SURF_RESOURCE_OFF = 0 /**< Down & broken */
+} e_surf_resource_state_t;
+
+
+typedef struct s_surf_parsing_host_arg {
+ char* V_host_id; //id
+ double V_host_power_peak; //power
+ int V_host_core; //core
+ double V_host_power_scale; //availability
+ tmgr_trace_t V_host_power_trace; //availability file
+ e_surf_resource_state_t V_host_state_initial; //state
+ tmgr_trace_t V_host_state_trace; //state file
+ const char* V_host_coord;
+} s_surf_parsing_host_arg_t, *surf_parsing_host_arg_t;
+
+
XBT_PUBLIC(void) sg_platf_new_AS_open(const char *id, const char *mode);
XBT_PUBLIC(void) sg_platf_new_AS_close(void);