3 /* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
5 /* Copyright (c) 2005 Martin Quinson. All rights reserved. */
7 /* This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package. */
17 GRAS_DEFINE_TYPE(s_matrix,
21 double *ctn GRAS_ANNOTE(size, rows*cols);
23 typedef struct s_matrix matrix_t;
25 void mat_dump(matrix_t *mat, const char* name);
27 /* register messages which may be sent and their payload
28 (common to client and server) */
29 void mmrpc_register_messages(void);
31 /* Function prototypes */
32 int server (int argc,char *argv[]);
33 int client (int argc,char *argv[]);