A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add MSG_storage_get_content function
[simgrid.git]
/
src
/
msg
/
msg_io.c
diff --git
a/src/msg/msg_io.c
b/src/msg/msg_io.c
index
d69d762
..
4cde27c
100644
(file)
--- a/
src/msg/msg_io.c
+++ b/
src/msg/msg_io.c
@@
-290,7
+290,7
@@
msg_error_t MSG_storage_set_data(msg_storage_t storage, void *data)
*
* \brief Returns the user data of a #msg_storage_t.
*
*
* \brief Returns the user data of a #msg_storage_t.
*
- * This functions checks whether \a storage is a valid pointer or not and return
+ * This functions checks whether \a storage is a valid pointer or not and return
s
the user data associated to \a storage if it is possible.
*/
void *MSG_storage_get_data(msg_storage_t storage)
the user data associated to \a storage if it is possible.
*/
void *MSG_storage_get_data(msg_storage_t storage)
@@
-298,3
+298,12
@@
void *MSG_storage_get_data(msg_storage_t storage)
return SIMIX_storage_get_data(storage);
}
return SIMIX_storage_get_data(storage);
}
+/** \ingroup msg_storage_management
+ *
+ * \brief Returns the content (file list) of a #msg_storage_t.
+ * \param storage a storage
+ */
+xbt_dict_t MSG_storage_get_content(msg_storage_t storage){
+
+ return SIMIX_storage_get_content(storage);
+}