X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..3dd753cd9e46d794e00629d03183250aec4a17e4:/include/simgrid/zone.h diff --git a/include/simgrid/zone.h b/include/simgrid/zone.h index e2772bcc8a..58739662c4 100644 --- a/include/simgrid/zone.h +++ b/include/simgrid/zone.h @@ -1,6 +1,6 @@ /* Public interface to the Link datatype */ -/* Copyright (c) 2018-2019. 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. */ @@ -13,16 +13,16 @@ #include /* C interface */ -SG_BEGIN_DECL() +SG_BEGIN_DECL XBT_PUBLIC sg_netzone_t sg_zone_get_root(); -XBT_PUBLIC const char* sg_zone_get_name(sg_netzone_t zone); +XBT_PUBLIC const char* sg_zone_get_name(const_sg_netzone_t zone); XBT_PUBLIC sg_netzone_t sg_zone_get_by_name(const char* name); -XBT_PUBLIC void sg_zone_get_sons(sg_netzone_t zone, xbt_dict_t whereto); -XBT_PUBLIC const char* sg_zone_get_property_value(sg_netzone_t as, const char* name); -XBT_PUBLIC void sg_zone_set_property_value(sg_netzone_t netzone, const char* name, char* value); -XBT_PUBLIC void sg_zone_get_hosts(sg_netzone_t zone, xbt_dynar_t whereto); +XBT_PUBLIC void sg_zone_get_sons(const_sg_netzone_t zone, xbt_dict_t whereto); +XBT_PUBLIC const char* sg_zone_get_property_value(const_sg_netzone_t as, const char* name); +XBT_PUBLIC void sg_zone_set_property_value(sg_netzone_t netzone, const char* name, const char* value); +XBT_PUBLIC void sg_zone_get_hosts(const_sg_netzone_t zone, xbt_dynar_t whereto); -SG_END_DECL() +SG_END_DECL #endif /* INCLUDE_SIMGRID_ZONE_H_ */