1 /* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef SIMIX_NETWORK_PRIVATE_HPP
7 #define SIMIX_NETWORK_PRIVATE_HPP
9 #include "simgrid/forward.h"
10 #include "src/simix/popping_private.hpp"
12 XBT_PRIVATE smx_activity_t SIMIX_comm_irecv(smx_actor_t dst_proc, smx_mailbox_t mbox, void* dst_buff,
13 size_t* dst_buff_size,
14 int (*match_fun)(void*, void*, simgrid::kernel::activity::CommImpl*),
15 void (*copy_data_fun)(smx_activity_t, void*, size_t), void* data,
17 XBT_PRIVATE smx_activity_t SIMIX_comm_iprobe(smx_actor_t dst_proc, smx_mailbox_t mbox, int type,
18 simix_match_func_t match_fun, void* data);