A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[trace] let user specify color for user variables for hosts/links
[simgrid.git]
/
examples
/
gras
/
p2p
/
can
/
types.h
diff --git
a/examples/gras/p2p/can/types.h
b/examples/gras/p2p/can/types.h
index
3700c37
..
ddeb68f
100644
(file)
--- a/
examples/gras/p2p/can/types.h
+++ b/
examples/gras/p2p/can/types.h
@@
-1,26
+1,32
@@
+/* Copyright (c) 2006, 2010. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#include "gras.h"
/* Global private data */
#include "gras.h"
/* Global private data */
-typedef struct{
-
gras_socket_t sock;
/* server socket on which I'm listening */
-
int xId;
-
int yId;
-
char host[1024];
/* my host name */
-
int port;
/* port on which I'm listening FIXME */
+typedef struct
{
+
gras_socket_t sock;
/* server socket on which I'm listening */
+ int xId;
+ int yId;
+
char host[1024];
/* my host name */
+
int port;
/* port on which I'm listening FIXME */
-
int x1;
// Xmin
-
int x2;
// Xmax
-
int y1;
// Ymin
-
int y2;
// Ymax
+
int x1;
// Xmin
+
int x2;
// Xmax
+
int y1;
// Ymin
+
int y2;
// Ymax
-
char north_host[1024];
-
int north_port;
-
char south_host[1024];
-
int south_port;
-
char east_host[1024];
-
int east_port;
-
char west_host[1024];
-
int west_port;
+ char north_host[1024];
+ int north_port;
+ char south_host[1024];
+ int south_port;
+ char east_host[1024];
+ int east_port;
+ char west_host[1024];
+ int west_port;
-
int version;
-}node_data_t;
+ int version;
+}
node_data_t;