Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
internal dynar--
[simgrid.git] / src / simix / smx_network_private.h
1 /* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved.          */
2
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. */
5
6 #ifndef SIMIX_NETWORK_PRIVATE_H
7 #define SIMIX_NETWORK_PRIVATE_H
8
9 #include "simgrid/s4u/Mailbox.hpp"
10 #include "src/kernel/activity/MailboxImpl.hpp"
11 #include "src/simix/ActorImpl.hpp"
12
13 XBT_PRIVATE smx_activity_t SIMIX_comm_irecv(smx_actor_t dst_proc, smx_mailbox_t mbox,
14                               void *dst_buff, size_t *dst_buff_size,
15                               int (*match_fun)(void *, void *, smx_activity_t),
16                               void (*copy_data_fun)(smx_activity_t, void*, size_t),
17                               void *data, double rate);
18 XBT_PRIVATE smx_activity_t SIMIX_comm_iprobe(smx_actor_t dst_proc, smx_mailbox_t mbox, int type, int src,
19                               int tag, int (*match_fun)(void *, void *, smx_activity_t), void *data);
20
21 #endif