A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Type casting. Bug solved.
[simgrid.git]
/
examples
/
gras
/
p2p
/
can
/
types.h
1
#include "gras.h"
2
3
/* Global private data */
4
typedef struct{
5
gras_socket_t sock; /* server socket on which I'm listening */
6
int xId;
7
int yId;
8
char host[1024]; /* my host name */
9
int port; /* port on which I'm listening FIXME */
10
11
int x1; // Xmin
12
int x2; // Xmax
13
int y1; // Ymin
14
int y2; // Ymax
15
16
char north_host[1024];
17
int north_port;
18
char south_host[1024];
19
int south_port;
20
char east_host[1024];
21
int east_port;
22
char west_host[1024];
23
int west_port;
24
25
int version;
26
}node_data_t;