X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f0b473db654af3da6cc609b6d94b5b6d9652c4c..d56dcaa0f75999a72b8ad6676b64a54e4f7c4a45:/src/mc/mc_record.h diff --git a/src/mc/mc_record.h b/src/mc/mc_record.h index 1f7a677b9e..17493f04a4 100644 --- a/src/mc/mc_record.h +++ b/src/mc/mc_record.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2014. The SimGrid Team. +/* Copyright (c) 2014-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -14,12 +14,12 @@ * passed to the application (without the MC specific arguments). */ -#ifndef MC_RECORD_H -#define MC_RECORD_H +#ifndef SIMGRID_MC_RECORD_H +#define SIMGRID_MC_RECORD_H -#include - -#include "simgrid_config.h" +#include +#include +#include SG_BEGIN_DECL() @@ -47,7 +47,7 @@ typedef struct s_mc_record_item { /** Convert a string representation of the path into a array of `s_mc_record_item_t` */ -XBT_INTERNAL xbt_dynar_t MC_record_from_string(const char* data); +XBT_PRIVATE xbt_dynar_t MC_record_from_string(const char* data); /** Generate a string representation * @@ -55,11 +55,11 @@ XBT_INTERNAL xbt_dynar_t MC_record_from_string(const char* data); * "pid0,value0;pid2,value2;pid3,value3". The value can be * omitted is it is null. */ -XBT_INTERNAL char* MC_record_stack_to_string(xbt_fifo_t stack); +XBT_PRIVATE char* MC_record_stack_to_string(xbt_fifo_t stack); /** Dump the path represented by a given stack in the log */ -XBT_INTERNAL void MC_record_dump_path(xbt_fifo_t stack); +XBT_PRIVATE void MC_record_dump_path(xbt_fifo_t stack); // ***** Replay @@ -68,15 +68,15 @@ XBT_INTERNAL void MC_record_dump_path(xbt_fifo_t stack); * \param start Array of record item * \item count Number of record items */ -XBT_INTERNAL void MC_record_replay(mc_record_item_t start, size_t count); +XBT_PRIVATE void MC_record_replay(mc_record_item_t start, size_t count); /** Replay a path represented by a string * * \param data String representation of the path */ -XBT_INTERNAL void MC_record_replay_from_string(const char* data); +XBT_PRIVATE void MC_record_replay_from_string(const char* data); -XBT_INTERNAL void MC_record_replay_init(void); +XBT_PRIVATE void MC_record_replay_init(void); SG_END_DECL()