4 * Created on: 2 mars 2012
8 #ifndef STORAGE_PRIVATE_H_
9 #define STORAGE_PRIVATE_H_
11 typedef struct s_storage_type {
15 xbt_dict_t properties;
16 } s_storage_type_t, *storage_type_t;
18 typedef struct s_mount {
21 } s_mount_t, *mount_t;
23 typedef struct s_content {
30 } s_content_t, *content_t;
33 typedef struct surf_file {
38 typedef struct storage {
39 s_surf_resource_t generic_resource; /*< Structure with generic data. Needed at begin to interate with SURF */
40 e_surf_resource_state_t state_current; /*< STORAGE current state (ON or OFF) */
41 lmm_constraint_t constraint; /* Constraint for maximum bandwidth from connexion */
42 lmm_constraint_t constraint_write; /* Constraint for maximum write bandwidth*/
43 lmm_constraint_t constraint_read; /* Constraint for maximum write bandwidth*/
44 } s_storage_t, *storage_t;
46 typedef struct surf_action_storage {
47 s_surf_action_lmm_t generic_lmm_action;
49 } s_surf_action_storage_t, *surf_action_storage_t;
51 #endif /* STORAGE_PRIVATE_H_ */