X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/063c63642a29000a011c0d6176d30eb62a4e0dca..d3b28fb6122e77004015a70f54af3f2fb78ed5af:/include/gras/messages.h diff --git a/include/gras/messages.h b/include/gras/messages.h index c522c53694..dd49e2c847 100644 --- a/include/gras/messages.h +++ b/include/gras/messages.h @@ -1,9 +1,8 @@ -/* $Id$ */ - /* messaging - high level communication (send/receive messages) */ /* module's public interface exported to end user. */ -/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2004, 2005, 2006, 2007, 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. */ @@ -71,6 +70,7 @@ XBT_PUBLIC(gras_msgtype_t) gras_msgtype_by_name_or_null(const char *name); XBT_PUBLIC(gras_msgtype_t) gras_msgtype_by_namev(const char *name, short int version); XBT_PUBLIC(gras_msgtype_t) gras_msgtype_by_id(int id); +XBT_PUBLIC(const char*) gras_msgtype_get_name(gras_msgtype_t type); XBT_PUBLIC(void) gras_msgtype_dumpall(void); @@ -281,7 +281,6 @@ XBT_PUBLIC(void) gras_msg_rpcreturn(double timeOut, gras_msg_cb_ctx_t ctx, gras_msgtype_t type; unsigned long int ID; void *payl; - void *comm; /* simix_comm in SG */ int payl_size; } s_gras_msg_t, *gras_msg_t;