X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/358b3ac1d1ce9e2cfcc7583271916ebd96eff6da..5b52e25dc0e3d17cdbe0323f922d7bb4fc238af3:/src/surf/surf_c_bindings.cpp diff --git a/src/surf/surf_c_bindings.cpp b/src/surf/surf_c_bindings.cpp index e57d90b6a8..7840806932 100644 --- a/src/surf/surf_c_bindings.cpp +++ b/src/surf/surf_c_bindings.cpp @@ -227,6 +227,10 @@ const char* surf_storage_get_host(surf_resource_t resource){ return static_cast(surf_storage_resource_priv(resource))->attach_; } +const char* surf_storage_get_name(surf_resource_t resource){ + return static_cast(surf_storage_resource_priv(resource))->cname(); +} + void surf_cpu_action_set_bound(surf_action_t action, double bound) { static_cast(action)->setBound(bound); }