X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/07e23d67fa051a2507972338c09151e69c1ad2d4..3cbf54871089cc3dc50b6832652b5765e1601039:/src/s4u/s4u_storage.cpp diff --git a/src/s4u/s4u_storage.cpp b/src/s4u/s4u_storage.cpp index 502b55689b..78b3013ab7 100644 --- a/src/s4u/s4u_storage.cpp +++ b/src/s4u/s4u_storage.cpp @@ -4,13 +4,15 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/kernel/resource/Resource.hpp" -#include "simgrid/msg.h" #include "simgrid/plugins/file_system.h" #include "simgrid/s4u/Engine.hpp" #include "simgrid/s4u/Host.hpp" #include "simgrid/s4u/Storage.hpp" #include "simgrid/simix.hpp" +#include "simgrid/storage.h" #include "src/surf/StorageImpl.hpp" + +#include #include namespace simgrid { @@ -93,7 +95,7 @@ simgrid::xbt::signal Storage::onDestruction; } /* namespace simgrid */ /* **************************** Public C interface *************************** */ -SG_BEGIN_DECL() + /** @addtogroup sg_storage_management * (#sg_storage_t) and the functions for managing it. */ @@ -141,7 +143,7 @@ xbt_dict_t sg_storage_get_properties(sg_storage_t storage) * \param name a property name * \param value what to change the property to */ -void sg_storage_set_property_value(sg_storage_t storage, const char* name, char* value) +void sg_storage_set_property_value(sg_storage_t storage, const char* name, const char* value) { storage->setProperty(name, value); } @@ -200,4 +202,3 @@ sg_size_t sg_storage_write(sg_storage_t storage, sg_size_t size) { return storage->write(size); } -SG_END_DECL()