* under the terms of the license (GNU LGPL) which comes with this package. */
#include "ping.h"
-XBT_LOG_NEW_DEFAULT_CATEGORY(Ping,"Messages specific to this example");
+XBT_LOG_NEW_DEFAULT_CATEGORY(Ping, "Messages specific to this example");
/* register messages which may be sent (common to client and server) */
-void ping_register_messages(void) {
+void ping_register_messages(void)
+{
gras_msgtype_declare("ping", gras_datadesc_by_name("int"));
gras_msgtype_declare("pong", gras_datadesc_by_name("int"));
INFO0("Messages registered");
}
-