Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update Doc.
[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   gras_init(&argc,argv);
11
12   /* Your own code for the client process */
13   
14   gras_exit();
15   return 0;
16 }
17
18 int server(int argc, char *argv[]) {
19   gras_init(&argc,argv);
20
21   /* Your own code for the server process */
22   
23   gras_exit();
24   return 0;
25 }