/******************************************************************************/
/******************************* Host simcalls ********************************/
+#ifdef __cplusplus
XBT_PUBLIC smx_activity_t simcall_execution_start(std::string name, double flops_amount, double priority, double bound,
sg_host_t host);
XBT_PUBLIC smx_activity_t simcall_execution_parallel_start(std::string name, int host_nb, sg_host_t* host_list,
double* flops_amount, double* bytes_amount, double rate,
double timeout);
+#endif
XBT_PUBLIC void simcall_execution_cancel(smx_activity_t execution);
XBT_PUBLIC void simcall_execution_set_priority(smx_activity_t execution, double priority);
XBT_PUBLIC void simcall_execution_set_bound(smx_activity_t execution, double bound);
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid/engine.h"
+#include "simgrid/simix.h" // we don't need it, but someone must check that this file is actually usable in plain C
#include <xbt.h>
XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this test");