Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
note in the comments the truth about a temptating (but doomed to failure) change
[simgrid.git] / examples / gras / spawn / spawn_common.c
1 /* spawn - demo of the gras_agent_spawn function                            */
2
3 /* Copyright (c) 2007, 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 #include "spawn.h"
10 XBT_LOG_NEW_DEFAULT_CATEGORY(Spawn, "Messages specific to this example");
11
12 /* register messages which may be sent (common to client and server) */
13 void spawn_register_messages(void)
14 {
15   gras_msgtype_declare("ping", gras_datadesc_by_name("int"));
16   gras_msgtype_declare("pong", gras_datadesc_by_name("int"));
17 }