35
37
e_surf_resource_state_t state_current; /*< STORAGE current state (ON or OFF) */
36
38
lmm_constraint_t constraint; /* Constraint for maximum bandwidth from connexion */
37
39
lmm_constraint_t constraint_write; /* Constraint for maximum write bandwidth*/
39
45
} s_storage_t, *storage_t;
42
READ, WRITE, STAT, OPEN, CLOSE
48
READ=0, WRITE, STAT, OPEN, CLOSE, UNLINK, LS
43
49
} e_surf_action_storage_type_t;
45
51
typedef struct surf_action_storage {
46
52
s_surf_action_lmm_t generic_lmm_action;
47
53
e_surf_action_storage_type_t type;
48
55
} s_surf_action_storage_t, *surf_action_storage_t;
50
57
#endif /* STORAGE_PRIVATE_H_ */