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
Fix doxygen comments.
[simgrid.git]
/
src
/
include
/
surf
/
surf.h
diff --git
a/src/include/surf/surf.h
b/src/include/surf/surf.h
index
083373d
..
87fb6aa
100644
(file)
--- a/
src/include/surf/surf.h
+++ b/
src/include/surf/surf.h
@@
-409,11
+409,10
@@
XBT_PUBLIC(surf_action_t) surf_workstation_sleep(surf_resource_t resource, doubl
* @brief Open a file on a workstation
*
* @param workstation The surf workstation
* @brief Open a file on a workstation
*
* @param workstation The surf workstation
- * @param mount The mount point
- * @param path The path to the file
+ * @param fullpath The path to the file
* @return The surf action corresponding to the openning
*/
* @return The surf action corresponding to the openning
*/
-XBT_PUBLIC(surf_action_t) surf_workstation_open(surf_resource_t workstation, const char*
mount, const char*
path);
+XBT_PUBLIC(surf_action_t) surf_workstation_open(surf_resource_t workstation, const char*
full
path);
/**
* @brief Close a file descriptor on a workstation
/**
* @brief Close a file descriptor on a workstation
@@
-653,7
+652,7
@@
XBT_PUBLIC(xbt_dict_t) surf_workstation_get_mounted_storage_list(surf_resource_t
* @param workstation The surf workstation
* @return Dictionary of storage
*/
* @param workstation The surf workstation
* @return Dictionary of storage
*/
-XBT_PUBLIC(xbt_d
ict
_t) surf_workstation_get_attached_storage_list(surf_resource_t workstation);
+XBT_PUBLIC(xbt_d
ynar
_t) surf_workstation_get_attached_storage_list(surf_resource_t workstation);
/**
* @brief Unlink a file descriptor
/**
* @brief Unlink a file descriptor
@@
-906,6
+905,15
@@
XBT_PUBLIC(surf_file_t) surf_storage_action_get_file(surf_action_t action);
*/
XBT_PUBLIC(xbt_dict_t) surf_storage_action_get_ls_dict(surf_action_t action);
*/
XBT_PUBLIC(xbt_dict_t) surf_storage_action_get_ls_dict(surf_action_t action);
+
+/**
+ * @brief Get the host the storage is attached to
+ *
+ * @param resource The surf storage
+ * @return The host name
+ */
+XBT_PUBLIC(const char * ) surf_storage_get_host(surf_resource_t resource);
+
XBT_PUBLIC(surf_model_t) surf_resource_model(const void *host, int level);
/** @} */
XBT_PUBLIC(surf_model_t) surf_resource_model(const void *host, int level);
/** @} */