X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c27e00a13208f33b2df33ef93e12f9ada54bb0d2..6d79cb117e4999f3e5c28a1c580b88516bdbe9d6:/src/mc/mc_protocol.h diff --git a/src/mc/mc_protocol.h b/src/mc/mc_protocol.h index 5858f5479c..ac3c0dbaf3 100644 --- a/src/mc/mc_protocol.h +++ b/src/mc/mc_protocol.h @@ -9,7 +9,7 @@ #include -#include +#include #include "mc/datatypes.h" @@ -20,7 +20,7 @@ SG_BEGIN_DECL() /** Environment variable name set by `simgrid-mc` to enable MC support in the * children MC processes */ -#define MC_ENV_VARIABLE "SIMGRIC_MC" +#define MC_ENV_VARIABLE "SIMGRID_MC" /** Environment variable name used to pass the communication socket */ #define MC_ENV_SOCKET_FD "SIMGRID_MC_SOCKET_FD" @@ -114,10 +114,6 @@ typedef struct s_mc_restore_message { int index; } s_mc_restore_message_t, *mc_restore_message_t; -XBT_PRIVATE int MC_protocol_send(int socket, const void* message, size_t size); -XBT_PRIVATE int MC_protocol_send_simple_message(int socket, e_mc_message_type type); -XBT_PRIVATE ssize_t MC_receive_message(int socket, void* message, size_t size, int options); - XBT_PRIVATE const char* MC_message_type_name(e_mc_message_type type); XBT_PRIVATE const char* MC_mode_name(e_mc_mode_t mode);