X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..2ec134835b1aecf5697def4554902b2c6e4ad566:/include/simgrid/vm.h diff --git a/include/simgrid/vm.h b/include/simgrid/vm.h index a89e274e15..845bd7650e 100644 --- a/include/simgrid/vm.h +++ b/include/simgrid/vm.h @@ -1,6 +1,6 @@ /* Public interface to the Virtual Machine datatype */ -/* Copyright (c) 2018-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2018-2022. 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. */ @@ -17,9 +17,9 @@ SG_BEGIN_DECL XBT_PUBLIC sg_vm_t sg_vm_create_core(sg_host_t pm, const char* name); XBT_PUBLIC sg_vm_t sg_vm_create_multicore(sg_host_t pm, const char* name, int core_amount); -XBT_PUBLIC int sg_vm_is_created(sg_vm_t vm); -XBT_PUBLIC int sg_vm_is_running(sg_vm_t vm); -XBT_PUBLIC int sg_vm_is_suspended(sg_vm_t vm); +XBT_PUBLIC int sg_vm_is_created(const_sg_vm_t vm); +XBT_PUBLIC int sg_vm_is_running(const_sg_vm_t vm); +XBT_PUBLIC int sg_vm_is_suspended(const_sg_vm_t vm); XBT_PUBLIC const char* sg_vm_get_name(const_sg_vm_t vm); XBT_PUBLIC void sg_vm_set_ramsize(sg_vm_t vm, size_t size);