/* ping - ping/pong demo of GRAS features */
-/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2006, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* register messages which may be sent (common to client and server) */
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");
+ gras_msgtype_declare("ping", xbt_datadesc_by_name("int"));
+ gras_msgtype_declare("pong", xbt_datadesc_by_name("int"));
+ XBT_INFO("Messages registered");
}