Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make vm_by_name() public and modify c-cloud-migration to use new functions
[simgrid.git] / include / simgrid / host.h
index 8d70956..37efe41 100644 (file)
@@ -27,6 +27,7 @@ XBT_PUBLIC void* sg_host_extension_get(const_sg_host_t host, size_t rank);
 
 /** Finds a host from its name */
 XBT_PUBLIC sg_host_t sg_host_by_name(const char* name);
+XBT_PUBLIC sg_vm_t sg_vm_by_name(sg_host_t host, const char* name);
 
 /** @brief Return the name of the sg_host_t. */
 XBT_PUBLIC const char* sg_host_get_name(const_sg_host_t host);