Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Add function declarations to replay.hpp
[simgrid.git] / include / simgrid / smpi / replay.hpp
index 0a4f4a6..2b091a7 100644 (file)
@@ -2,8 +2,14 @@
 
 /* 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. */
-#include "private.hpp"
+#ifndef SMPI_REPLAY_HPP
+#define SMPI_REPLAY_HPP
+
+#include "smpi/smpi.h"
+#include <simgrid/s4u/Actor.hpp>
+#include <memory>
 #include <xbt/replay.hpp>
+#include <xbt/ex.h>
 
 #include <sstream>
 
   }                                                                                                                  \
 }
 
+extern XBT_PRIVATE void* smpi_get_tmp_sendbuffer(int size);
+extern XBT_PRIVATE void* smpi_get_tmp_recvbuffer(int size);
+extern XBT_PRIVATE void smpi_free_tmp_buffer(void* buf);
+extern XBT_PRIVATE void smpi_free_replay_tmp_buffers();
+
 namespace simgrid {
 namespace smpi {
 namespace replay {
@@ -151,7 +162,7 @@ public:
 /**
  * Base class for all ReplayActions.
  * Note that this class actually implements the behavior of each action
- * while the parsing of the replay arguments is done in the @ActionArgParser class.
+ * while the parsing of the replay arguments is done in the ActionArgParser class.
  * In other words: The logic goes here, the setup is done by the ActionArgParser.
  */
 template <class T> class ReplayAction {
@@ -301,3 +312,5 @@ public:
 }
 }
 }
+
+#endif