double max_duration);
XBT_PUBLIC(int) simcall_sem_get_capacity(smx_sem_t sem);
+/***************************** File **********************************/
XBT_PUBLIC(size_t) simcall_file_read(size_t size, smx_file_t fd);
XBT_PUBLIC(size_t) simcall_file_write(size_t size, smx_file_t fd);
XBT_PUBLIC(smx_file_t) simcall_file_open(const char* storage, const char* path);
XBT_PUBLIC(int) simcall_file_unlink(smx_file_t fd);
XBT_PUBLIC(xbt_dict_t) simcall_file_ls(const char* mount, const char* path);
XBT_PUBLIC(size_t) simcall_file_get_size(smx_file_t fd);
-
+XBT_PUBLIC(size_t) simcall_storage_get_free_size (smx_storage_t storage);
/************************** AS router **********************************/
XBT_PUBLIC(xbt_dict_t) SIMIX_asr_get_properties(const char *name);
/************************** AS router simcalls ***************************/