X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17616c140fdd6df448bf3b89e258e0bcd4f0ff0d..63225b9520042ef129adb975132fe68ec5710988:/include/simgrid/vm.h?ds=inline diff --git a/include/simgrid/vm.h b/include/simgrid/vm.h index 83f180a2ef..b9f77d0fec 100644 --- a/include/simgrid/vm.h +++ b/include/simgrid/vm.h @@ -1,6 +1,6 @@ /* Public interface to the Link datatype */ -/* Copyright (c) 2018-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2018-2020. 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. */ @@ -29,11 +29,11 @@ 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 const char* sg_vm_get_name(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); -XBT_PUBLIC size_t sg_vm_get_ramsize(sg_vm_t vm); +XBT_PUBLIC size_t sg_vm_get_ramsize(const_sg_vm_t vm); XBT_PUBLIC void sg_vm_set_bound(sg_vm_t vm, double bound); -XBT_PUBLIC sg_host_t sg_vm_get_pm(sg_vm_t vm); +XBT_PUBLIC sg_host_t sg_vm_get_pm(const_sg_vm_t vm); XBT_PUBLIC void sg_vm_start(sg_vm_t vm); XBT_PUBLIC void sg_vm_suspend(sg_vm_t vm);