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] / doc / gtut-files / 01-bones.c
1 /* Copyright (c) 2006, 2010. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5   * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #include <gras.h>
8
9 int client(int argc, char *argv[])
10 {
11   gras_init(&argc, argv);
12
13   /* Your own code for the client process */
14
15   gras_exit();
16   return 0;
17 }
18
19 int server(int argc, char *argv[])
20 {
21   gras_init(&argc, argv);
22
23   /* Your own code for the server process */
24
25   gras_exit();
26   return 0;
27 }