Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initial import
[simgrid.git] / examples / gras / p2p / can / types.h
1
2 /* Global private data */
3 typedef struct{
4         gras_socket_t sock; /* server socket on which I'm listening */
5         int xId;
6         int yId;
7         char host[1024]; /* my host name */
8         int port; /* port on which I'm listening FIXME */
9
10         int x1; // Xmin
11         int x2; // Xmax
12         int y1; // Ymin
13         int y2; // Ymax
14
15         char north_host[1024];
16         int north_port;
17         char south_host[1024];
18         int south_port;
19         char east_host[1024];
20         int east_port;
21         char west_host[1024];
22         int west_port;
23
24         int version;
25 }node_data_t;