X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3fb9aba261b13107be7a2d87fdf18cf1ede2e854..5017a96d2e904e414c63e86137f7ab814724b362:/src/simix/smx_network.c diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index 923173b5d7..53af644ba6 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -436,6 +436,23 @@ XBT_INLINE void *SIMIX_communication_get_data(smx_comm_t comm) return comm->data; } +XBT_PUBLIC(void *) SIMIX_communication_get_src_buf(smx_comm_t comm) +{ + return comm->src_buff; +} +XBT_PUBLIC(void *) SIMIX_communication_get_dst_buf(smx_comm_t comm) +{ + return comm->dst_buff; +} +XBT_PUBLIC(void *) SIMIX_communication_get_src_buf_size(smx_comm_t comm) +{ + return comm->src_buff_size; +} +XBT_PUBLIC(void *) SIMIX_communication_get_dst_buf_size(smx_comm_t comm) +{ + return comm->dst_buff_size; +} + /******************************************************************************/ /* Synchronous Communication */ /******************************************************************************/