Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
introduce simgrid_get_all_hosts
[simgrid.git] / include / simgrid / engine.h
index 95b9ae4..87d337a 100644 (file)
@@ -7,6 +7,7 @@
 #define INCLUDE_SIMGRID_ENGINE_H_
 
 #include <simgrid/forward.h>
+#include <stddef.h>
 
 SG_BEGIN_DECL /* C interface */
 /** Initialize the SimGrid engine, taking the command line parameters of your main function. */
@@ -50,6 +51,8 @@ XBT_PUBLIC int simgrid_get_actor_count();
  */
 XBT_PUBLIC void sg_config_continue_after_help();
 
+XBT_PUBLIC void simgrid_get_all_hosts(size_t* host_count, sg_host_t** hosts);
+
 SG_END_DECL
 
 #endif /* INCLUDE_SIMGRID_ENGINE_H_ */