X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a1688a8f4d3a06b7dfd59fdcf06c7a198b235fbb..5f1b7209de9aa1fa4d24ff0ff80c6937a7a28ce7:/src/surf/storage_private.h diff --git a/src/surf/storage_private.h b/src/surf/storage_private.h index 5fe1b8fe71..e965b43514 100644 --- a/src/surf/storage_private.h +++ b/src/surf/storage_private.h @@ -27,16 +27,19 @@ typedef struct surf_file { size_t size; } s_surf_file_t; -typedef struct storage { +typedef struct surf_storage { s_surf_resource_t generic_resource; /*< Structure with generic data. Needed at begin to interact with SURF */ e_surf_resource_state_t state_current; /*< STORAGE current state (ON or OFF) */ lmm_constraint_t constraint; /* Constraint for maximum bandwidth from connection */ lmm_constraint_t constraint_write; /* Constraint for maximum write bandwidth*/ lmm_constraint_t constraint_read; /* Constraint for maximum write bandwidth*/ - xbt_dict_t content; /* char * -> s_surf_file_t */ + xbt_dict_t content; + char* content_type; size_t size; size_t used_size; + char *type_id; xbt_dynar_t write_actions; + xbt_dict_t properties; } s_storage_t, *storage_t; typedef enum {