3 /* virtu_sg - specific GRAS implementation for simulator */
5 /* Authors: Martin Quinson */
6 /* Copyright (C) 2003,2004 da GRAS posse. */
8 /* This program is free software; you can redistribute it and/or modify it
9 under the terms of the license (GNU LGPL) which comes with this package. */
14 #include "gras_private.h"
15 #include <msg.h> /* SimGrid header */
17 #define GRAS_MAX_CHANNEL 10
19 /* Data for each host */
21 int proc[GRAS_MAX_CHANNEL]; /* who's connected to each channel (its PID). If =0, then free */
24 int *port; /* list of ports used by a server socket */
25 int *port2chan; /* the channel it points to */
26 int *raw; /* (boolean) the channel is in raw mode or for formatted messages */
31 #endif /* VIRTU_SG_H */