X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9aa28f17ea79d17a474e6648b35d3849385a32c6..24760d83c71aa79e6aab9d3922d30a607a6cf7da:/include/simgrid/host.h diff --git a/include/simgrid/host.h b/include/simgrid/host.h index 8d709566b0..e828dced4f 100644 --- a/include/simgrid/host.h +++ b/include/simgrid/host.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -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);