Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bd7bf722e9d64540ec58c26d27892c8b13c21541
[simgrid.git] / include / simgrid / zone.h
1 /* Public interface to the Link datatype                                    */
2
3 /* Copyright (c) 2018. The SimGrid Team. All rights reserved.          */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef INCLUDE_SIMGRID_ZONE_H_
9 #define INCLUDE_SIMGRID_ZONE_H_
10
11 #include <simgrid/forward.h>
12 #include <xbt/base.h>
13
14 /* C interface */
15 SG_BEGIN_DECL()
16
17 XBT_PUBLIC sg_netzone_t sg_zone_get_root();
18 XBT_PUBLIC const char* sg_zone_get_name(sg_netzone_t zone);
19 XBT_PUBLIC sg_netzone_t sg_zone_get_by_name(const char* name);
20 XBT_PUBLIC void sg_zone_get_sons(sg_netzone_t zone, xbt_dict_t whereto);
21 XBT_PUBLIC const char* sg_zone_get_property_value(sg_netzone_t as, const char* name);
22 XBT_PUBLIC void sg_zone_set_property_value(sg_netzone_t netzone, const char* name, char* value);
23 XBT_PUBLIC void sg_zone_get_hosts(sg_netzone_t zone, xbt_dynar_t whereto);
24
25 SG_END_DECL()
26
27 #endif /* INCLUDE_SIMGRID_ZONE_H_ */