Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Eradicate the last bits of the buffered transport which used to live on top of either...
[simgrid.git] / src / gras / Transport / sg_transport.c
index 7992390..b4a6935 100644 (file)
@@ -29,7 +29,7 @@ XBT_LOG_DEFAULT_CATEGORY(transport);
 gras_socket_t gras_trp_select(double timeout) {
   
   gras_socket_t res;
-  gras_trp_procdata_t pd=(gras_trp_procdata_t)gras_libdata_get("gras_trp");
+  gras_trp_procdata_t pd=(gras_trp_procdata_t)gras_libdata_by_id(gras_trp_libdata_id);
   gras_trp_sg_sock_data_t *sockdata;
   gras_trp_plugin_t trp;
 
@@ -71,7 +71,7 @@ gras_socket_t gras_trp_select(double timeout) {
   /* Socket to expeditor not created yet */
   DEBUG0("Create a socket to the expeditor");
   
-  trp = gras_trp_plugin_get_by_name("buf");
+  trp = gras_trp_plugin_get_by_name("sg");
   
   gras_trp_socket_new(1,&res);
   res->plugin   = trp;
@@ -138,7 +138,6 @@ gras_socket_t gras_trp_select(double timeout) {
 
 void gras_trp_tcp_setup(gras_trp_plugin_t plug) {  THROW0(mismatch_error,0,NULL); }
 void gras_trp_file_setup(gras_trp_plugin_t plug){  THROW0(mismatch_error,0,NULL); }
-void gras_trp_buf_setup(gras_trp_plugin_t plug) {  THROW0(mismatch_error,0,NULL); }
 void gras_trp_iov_setup(gras_trp_plugin_t plug) {  THROW0(mismatch_error,0,NULL); }
 
 gras_socket_t gras_trp_buf_init_sock(gras_socket_t sock) { return sock;}