Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Indent the rest of the code (examples, buildtools, doc...) except for examples/SMPI...
[simgrid.git] / examples / gras / p2p / can / types.h
index 4e2f0d1..ddeb68f 100644 (file)
@@ -7,26 +7,26 @@
 #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;