#define VIRTU_SG_H
#include "gras/Virtu/virtu_private.h"
+#include "xbt/dynar.h"
#include "msg/msg.h" /* SimGrid header */
-#define XBT_MAX_CHANNEL 10
-
typedef struct {
int port; /* list of ports used by a server socket */
int tochan; /* the channel it points to */
/* Data for each host */
typedef struct {
+ int refcount;
int proc[XBT_MAX_CHANNEL]; /* PID of who's connected to each channel */
/* If =0, then free */