typedef struct storage {
s_surf_resource_t generic_resource; /*< Structure with generic data. Needed at begin to interate with SURF */
e_surf_resource_state_t state_current; /*< STORAGE current state (ON or OFF) */
- lmm_constraint_t constraint;
+ lmm_constraint_t constraint; /* Constraint for maximum bandwidth from connexion */
+ lmm_constraint_t constraint_write; /* Constraint for maximum write bandwidth*/
+ lmm_constraint_t constraint_read; /* Constraint for maximum write bandwidth*/
} s_storage_t, *storage_t;
typedef struct surf_action_storage {