Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
12c605315556f13361f8e2027d2f01121d449f97
[simgrid.git] / src / mc / mc_xbt.hpp
1 /* Copyright (c) 2014-2019. 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 SIMGRID_MC_XBT_HPP
8 #define SIMGRID_MC_XBT_HPP
9
10 #include "xbt/dynar.h"
11
12 #include "src/mc/AddressSpace.hpp"
13 #include "src/mc/remote/RemotePtr.hpp"
14
15 namespace simgrid {
16 namespace mc {
17
18 XBT_PRIVATE void read_element(AddressSpace const& as,
19   void* local, RemotePtr<s_xbt_dynar_t> addr, std::size_t i, std::size_t len);
20 XBT_PRIVATE std::size_t read_length(
21   AddressSpace const& as, RemotePtr<s_xbt_dynar_t> addr);
22
23 }
24 }
25
26 #endif