X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/883e4b2387e9699a70c1d6087330c12ebb5a3845..a5792e1e22b22a063b24ec0e17f9e70e036f7744:/src/s4u/s4u_Host.cpp diff --git a/src/s4u/s4u_Host.cpp b/src/s4u/s4u_Host.cpp index 420fb5da89..237a129858 100644 --- a/src/s4u/s4u_Host.cpp +++ b/src/s4u/s4u_Host.cpp @@ -447,6 +447,7 @@ sg_host_t sg_host_by_name(const char* name) return simgrid::s4u::Host::by_name_or_null(name); } +/** @brief Retrieve a VM running on a given host from its name, or return NULL if no VM matches*/ sg_vm_t sg_vm_by_name(sg_host_t host, const char* name) { return host->vm_by_name_or_null(name);