3 /* ping - ping/pong demo of GRAS features */
5 /* Copyright (c) 2003, 2004, 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. */
11 XBT_LOG_NEW_DEFAULT_CATEGORY(Ping, "Messages specific to this example");
13 /* register messages which may be sent (common to client and server) */
14 void ping_register_messages(void)
16 gras_msgtype_declare("ping", gras_datadesc_by_name("int"));
17 gras_msgtype_declare("pong", gras_datadesc_by_name("int"));
18 INFO0("Messages registered");