-/* Copyright (c) 2018-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2018-2021. 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. */
#include <stddef.h>
SG_BEGIN_DECL /* C interface */
-/** Initialize the SimGrid engine, taking the command line parameters of your main function. */
-XBT_PUBLIC void simgrid_init(int* argc, char** argv);
+
+ /** Initialize the SimGrid engine, taking the command line parameters of your main function. */
+ XBT_PUBLIC void
+ simgrid_init(int* argc, char** argv);
/** Creates a new platform, including hosts, links, and the routing table.
*
/** Retrieve the simulation time (in seconds) */
XBT_PUBLIC double simgrid_get_clock();
/** Retrieve the number of actors in the simulation */
-XBT_PUBLIC int simgrid_get_actor_count();
+XBT_ATTRIB_DEPRECATED_v330("Please use sg_actor_count()") XBT_PUBLIC int simgrid_get_actor_count();
/** @brief Allow other libraries to react to the --help flag, too
*
*/
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_ */