Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename bloc_send/recv to chunk_send/recv because I had a doubt on bloc meaning in...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Apr 2004 18:29:44 +0000 (18:29 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Apr 2004 18:29:44 +0000 (18:29 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@79 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Transport/transport_interface.h

index 6bb5c03..44f8dc3 100644 (file)
 /***
  *** Main user functions
  ***/
-gras_error_t gras_trp_bloc_send(gras_socket_t *sd,
-                               void *data,
-                               size_t size);
-gras_error_t gras_trp_bloc_recv(gras_socket_t *sd,
-                               void *data,
-                               size_t size);
+gras_error_t gras_trp_chunk_send(gras_socket_t *sd,
+                                char *data,
+                                size_t size);
+gras_error_t gras_trp_chunk_recv(gras_socket_t *sd,
+                                char *data,
+                                size_t size);
 
 /* Find which socket needs to be read next */
 gras_error_t 
@@ -76,15 +76,14 @@ struct gras_trp_plugin_ {
    /* socket_close() is responsible of telling the OS that the socket is over,
     but should not free the socket itself (beside the specific part) */
   void         (*socket_close)(gras_socket_t *sd);
-   
-  gras_error_t (*bloc_send)(gras_socket_t *sd,
-                            char *data,
-                            size_t size);
-  gras_error_t (*bloc_recv)(gras_socket_t *sd,
-                            char *Data,
-                            size_t size);
+    
+  gras_error_t (*chunk_send)(gras_socket_t *sd,
+                            char *data,
+                            size_t size);
+  gras_error_t (*chunk_recv)(gras_socket_t *sd,
+                            char *Data,
+                            size_t size);
+
   void          *specific;
   void         (*free_specific)(void *);
 };