Logo AND Algorithmique Numérique Distribuée

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