Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Importing the documentation !!! :)
[simgrid.git] / include / gras / messages.h
index 032bbc2..5cfc2b4 100644 (file)
@@ -1,15 +1,12 @@
 /* $Id$ */
 
 /* messaging - high level communication (send/receive messages)             */
-
 /* module's public interface exported to end user.                          */
 
-/* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2003, 2004 Martin Quinson.                                 */
+/* 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_MESSAGES_H
 #define GRAS_MESSAGES_H
@@ -51,14 +48,14 @@ void gras_cb_register  (gras_msgtype_t msgtype,
 void gras_cb_unregister(gras_msgtype_t msgtype,
                        gras_cb_t      cb);
 
-gras_error_t gras_msg_send(gras_socket_t   sock,
+xbt_error_t gras_msg_send(gras_socket_t   sock,
                           gras_msgtype_t  msgtype,
                           void           *payload);
-gras_error_t gras_msg_wait(double          timeout,    
+xbt_error_t gras_msg_wait(double          timeout,    
                           gras_msgtype_t  msgt_want,
                           gras_socket_t  *expeditor,
                           void           *payload);
-gras_error_t gras_msg_handle(double timeOut);
+xbt_error_t gras_msg_handle(double timeOut);
 
 
 END_DECL