Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge back master branch
[simgrid.git] / examples / gras / mmrpc / mmrpc.h
1 /* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
2
3 /* Copyright (c) 2006, 2009, 2010. The SimGrid Team.
4  * All rights reserved.                                                     */
5
6 /* This program is free software; you can redistribute it and/or modify it
7  * under the terms of the license (GNU LGPL) which comes with this package. */
8
9 #ifndef MMRPC_H
10 #define MMRPC_H
11
12 #include "gras.h"
13
14 #define MATSIZE 128
15
16 /* register messages which may be sent and their payload
17    (common to client and server) */
18 void mmrpc_register_messages(void);
19
20 /* Function prototypes */
21 int server(int argc, char *argv[]);
22 int client(int argc, char *argv[]);
23
24 #endif                          /* MMRPC_H */