1 /* ping - ping/pong demo of GRAS features */
3 /* Copyright (c) 2006, 2009, 2010. The SimGrid Team.
4 * All rights reserved. */
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. */
10 XBT_LOG_NEW_DEFAULT_CATEGORY(Ping, "Messages specific to this example");
12 /* register messages which may be sent (common to client and server) */
13 void ping_register_messages(void)
15 gras_msgtype_declare("ping", gras_datadesc_by_name("int"));
16 gras_msgtype_declare("pong", gras_datadesc_by_name("int"));
17 XBT_INFO("Messages registered");