Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[Data description]
[simgrid.git] / include / messages.h
index e9d1aa6..598886d 100644 (file)
@@ -3,7 +3,7 @@
 /* gras/messages.h - Public interface to GRAS messages                      */
 
 /* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2003 the OURAGAN project.                                  */
+/* Copyright (C) 2003,2004 Martin Quinson.                                  */
 
 /* 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. */
@@ -53,7 +53,7 @@ typedef struct gras_msgentry_s  gras_msgentry_t;
  */
 typedef struct {
   /* public */
-  gras_sock_t *sock; /** the socket on which the message was received (to answer) */
+  gras_socket_t *sock; /** the socket on which the message was received (to answer) */
 
   /* private */
   gras_msgheader_t *header;
@@ -92,7 +92,7 @@ gras_msgtype_register(gras_msgid_t msgId,
  * Create a new message, and send it on the network through the given socket.
  */
 gras_error_t
-gras_msg_new_and_send(gras_sock_t *sd,
+gras_msg_new_and_send(gras_socket_t *sd,
                      gras_msgid_t msgId,
                      int seqCount,
                      ...);
@@ -210,7 +210,7 @@ gras_error_t gras_msg_handle(double timeOut);
  */
 
 gras_error_t
-gras_msg_send(gras_sock_t *sd,
+gras_msg_send(gras_socket_t *sd,
              gras_msg_t *msg,
              e_gras_free_directive_t freeDirective);