1 /* Copyright (c) 2015. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
14 // ***** Environment variables for passing context to the model-checked process
16 /** Environment variable name set by `simgrid-mc` to enable MC support in the
17 * children MC processes
19 #define MC_ENV_VARIABLE "SIMGRIC_MC"
21 /** Environment variable name used to pass the communication socket */
22 #define MC_ENV_SOCKET_FD "SIMGRID_MC_SOCKET_FD"
29 MC_MESSAGE_CONTINUE = 2,
32 typedef struct s_mc_message {
34 } s_mc_message_t, *mc_message_t;
39 int MC_protocol_send_simple_message(int socket, int type);
40 int MC_protocol_hello(int socket);