Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix MSG_storage_get_free_size() and add MSG_storage_get_used_size()
[simgrid.git] / include / simgrid / simix.h
index 1c72dbe..4a521c5 100644 (file)
@@ -481,7 +481,11 @@ 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(xbt_dynar_t) simcall_file_get_info(smx_file_t fd);
-XBT_PUBLIC(size_t) simcall_storage_get_free_size (smx_storage_t storage);
+
+/*****************************   Storage   **********************************/
+XBT_PUBLIC(size_t) simcall_storage_get_free_size (const char* name);
+XBT_PUBLIC(size_t) simcall_storage_get_used_size (const char* name);
+
 /************************** AS router   **********************************/
 XBT_PUBLIC(xbt_dict_t) SIMIX_asr_get_properties(const char *name);
 /************************** AS router simcalls ***************************/