Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge xbt/ex.hpp into simgrid/exception.hpp
[simgrid.git] / include / simgrid / mailbox.h
1 /* Copyright (c) 2018. 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 INCLUDE_SIMGRID_MAILBOX_H_
7 #define INCLUDE_SIMGRID_MAILBOX_H_
8
9 #include <simgrid/forward.h>
10 #include <xbt/base.h>
11
12 /* C interface */
13 SG_BEGIN_DECL()
14
15 XBT_PUBLIC void sg_mailbox_set_receiver(const char* alias);
16 XBT_PUBLIC int sg_mailbox_listen(const char* alias);
17
18 SG_END_DECL()
19
20 #endif /* INCLUDE_SIMGRID_MAILBOX_H_ */