X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/214f188618ac52530034513e24a0a9b6353e0f95..0fbb2ce49d807800629638bb182ef8cc159a77bf:/src/mc/mc_memory_map.h diff --git a/src/mc/mc_memory_map.h b/src/mc/mc_memory_map.h index afcbb70338..786085486c 100644 --- a/src/mc/mc_memory_map.h +++ b/src/mc/mc_memory_map.h @@ -1,11 +1,11 @@ -/* Copyright (c) 2007-2014. The SimGrid Team. +/* Copyright (c) 2007-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#ifndef MC_MEMORY_MAP_H -#define MC_MEMORY_MAP_H +#ifndef SIMGRID_MC_MEMORY_MAP_H +#define SIMGRID_MC_MEMORY_MAP_H #include @@ -14,8 +14,10 @@ #include +#include + #include -#include "mc_forward.h" +#include "mc_forward.hpp" namespace simgrid { namespace mc { @@ -32,15 +34,15 @@ struct VmMap { std::string pathname; /* Path name of the mapped file */ }; -std::vector get_memory_map(pid_t pid); +XBT_PRIVATE std::vector get_memory_map(pid_t pid); } } extern "C" { -XBT_INTERNAL void MC_find_object_address( - std::vector const& maps, mc_object_info_t result); +XBT_PRIVATE void MC_find_object_address( + std::vector const& maps, simgrid::mc::ObjectInformation* result); }