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
Ansi C declaration of the variables (at the beginning of the blocks)
[simgrid.git]
/
src
/
simdag
/
sd_link.c
diff --git
a/src/simdag/sd_link.c
b/src/simdag/sd_link.c
index
c7a30c2
..
4e0baed
100644
(file)
--- a/
src/simdag/sd_link.c
+++ b/
src/simdag/sd_link.c
@@
-118,19
+118,19
@@
double SD_link_get_current_bandwidth(SD_link_t link) {
}
/**
}
/**
- * \brief Returns the value of a
certai
n link property
+ * \brief Returns the value of a
give
n link property
*
* \param workstation a workstation
* \param name a property name
*
* \param workstation a workstation
* \param name a property name
- * \return value of a property
+ * \return value of a property
(or NULL if property not set)
*/
*/
-const char* SD_link_get_property_value(SD_link_t link, char* name)
+const char* SD_link_get_property_value(SD_link_t link, c
onst c
har* name)
{
return xbt_dict_get_or_null(SD_link_get_properties(link), name);
}
/**
{
return xbt_dict_get_or_null(SD_link_get_properties(link), name);
}
/**
- * \brief Returns a
xbt_dynar
_t consisting of the list of properties assigned to a link
+ * \brief Returns a
#xbt_dict
_t consisting of the list of properties assigned to a link
*
* \param link a link
* \return the dictionary containing the properties associated with the link
*
* \param link a link
* \return the dictionary containing the properties associated with the link
@@
-140,7
+140,7
@@
xbt_dict_t SD_link_get_properties(SD_link_t link)
SD_CHECK_INIT_DONE();
xbt_assert0((link != NULL), "Invalid parameters");
SD_CHECK_INIT_DONE();
xbt_assert0((link != NULL), "Invalid parameters");
- return (surf_workstation_model->common_public->get_
link_
properties(link->surf_link));
+ return (surf_workstation_model->common_public->get_properties(link->surf_link));
}
}