X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1fc5e0b36dddadb1e7deec1428f526de70bdb016..e50d4a9de8334346d43f962316c081e0069e56b3:/src/surf/surf_c_bindings.cpp diff --git a/src/surf/surf_c_bindings.cpp b/src/surf/surf_c_bindings.cpp index 7f8d40f35c..9d364aaedb 100644 --- a/src/surf/surf_c_bindings.cpp +++ b/src/surf/surf_c_bindings.cpp @@ -476,6 +476,10 @@ sg_size_t surf_storage_get_size(surf_resource_t resource){ return static_cast(surf_storage_resource_priv(resource))->getSize(); } +const char* surf_storage_get_host(surf_resource_t resource){ + return static_cast(surf_storage_resource_priv(resource))->p_attach; +} + void surf_storage_rename(surf_resource_t resource, const char* src, const char* dest){ static_cast(surf_storage_resource_priv(resource))->rename(src, dest); }