1 /* Copyright (c) 2007-2017. 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_H
7 #define SIMIX_NETWORK_PRIVATE_H
9 #include "simgrid/s4u/Mailbox.hpp"
10 #include "src/kernel/activity/MailboxImpl.hpp"
11 #include "src/simix/ActorImpl.hpp"
13 XBT_PRIVATE smx_activity_t SIMIX_comm_irecv(smx_actor_t dst_proc, smx_mailbox_t mbox, void* dst_buff,
14 size_t* dst_buff_size,
15 int (*match_fun)(void*, void*, simgrid::kernel::activity::CommImpl*),
16 void (*copy_data_fun)(smx_activity_t, void*, size_t), void* data,
18 XBT_PRIVATE smx_activity_t SIMIX_comm_iprobe(smx_actor_t dst_proc, smx_mailbox_t mbox, int type,
19 simix_match_func_t match_fun, void* data);