Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove gras from the main documentation
[simgrid.git] / doc / gtut-files / 01-bones.c
index 85ff3e2..97fea93 100644 (file)
@@ -1,19 +1,27 @@
+/* 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>
 
-int client(int argc, char *argv[]) {
-  gras_init(&argc,argv);
+int client(int argc, char *argv[])
+{
+  gras_init(&argc, argv);
 
   /* Your own code for the client process */
-  
+
   gras_exit();
   return 0;
 }
 
-int server(int argc, char *argv[]) {
-  gras_init(&argc,argv);
+int server(int argc, char *argv[])
+{
+  gras_init(&argc, argv);
 
   /* Your own code for the server process */
-  
+
   gras_exit();
   return 0;
 }