Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
c238e2e298ed74e7b78202dcb3fda93fcc17dbde
[simgrid.git] / src / simix / smx_network_private.h
1 /* Copyright (c) 2007-2010, 2012-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef _SIMIX_NETWORK_PRIVATE_H
8 #define _SIMIX_NETWORK_PRIVATE_H
9
10 #include "simgrid/s4u/Mailbox.hpp"
11 #include "src/kernel/activity/MailboxImpl.hpp"
12 #include "src/simix/ActorImpl.hpp"
13
14 XBT_PRIVATE smx_activity_t SIMIX_comm_irecv(smx_actor_t dst_proc, smx_mailbox_t mbox,
15                               void *dst_buff, size_t *dst_buff_size,
16                               int (*match_fun)(void *, void *, smx_activity_t),
17                               void (*copy_data_fun)(smx_activity_t, void*, size_t),
18                               void *data, double rate);
19 XBT_PRIVATE smx_activity_t SIMIX_comm_iprobe(smx_actor_t dst_proc, smx_mailbox_t mbox, int type, int src,
20                               int tag, int (*match_fun)(void *, void *, smx_activity_t), void *data);
21
22 #endif