X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/421e2f7dd584b6aa936de631a730fb3b21ca7565..806a8ef96de0bc6fbb75cadb0fbd8f3ef824d0b8:/src/gras/DataDesc/datadesc_interface.h diff --git a/src/gras/DataDesc/datadesc_interface.h b/src/gras/DataDesc/datadesc_interface.h index b0b71dfcda..d4e6c014c6 100644 --- a/src/gras/DataDesc/datadesc_interface.h +++ b/src/gras/DataDesc/datadesc_interface.h @@ -4,16 +4,17 @@ /* module's public interface exported within GRAS, but not to end user. */ -/* Authors: Olivier Aumage, Martin Quinson */ -/* Copyright (C) 2003, 2004 the GRAS posse. */ +/* Copyright (c) 2003 Olivier Aumage. */ +/* Copyright (c) 2003, 2004 Martin Quinson. */ +/* 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. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef GRAS_DATADESC_INTERFACE_H #define GRAS_DATADESC_INTERFACE_H -gras_error_t gras_datadesc_by_id (long int code, +xbt_error_t gras_datadesc_by_id (long int code, gras_datadesc_type_t *type); /* to debug */ @@ -28,9 +29,9 @@ gras_datadesc_type_cmp(const gras_datadesc_type_t d1, /* Access function */ int gras_datadesc_size(gras_datadesc_type_t type); /* Described data exchanges */ -gras_error_t gras_datadesc_cpy(gras_datadesc_type_t type, void *src, void **dst); -gras_error_t gras_datadesc_send(gras_socket_t sock, gras_datadesc_type_t type, void *src); -gras_error_t gras_datadesc_recv(gras_socket_t sock, gras_datadesc_type_t type, +xbt_error_t gras_datadesc_cpy(gras_datadesc_type_t type, void *src, void **dst); +xbt_error_t gras_datadesc_send(gras_socket_t sock, gras_datadesc_type_t type, void *src); +xbt_error_t gras_datadesc_recv(gras_socket_t sock, gras_datadesc_type_t type, int r_arch, void *dst);