X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1e56742544f7195c4cc0525569d610b0ba0e3d8c..71855c3d4eb59aa687b05fa351bb09df42495a43:/src/simdag/sd_link.c diff --git a/src/simdag/sd_link.c b/src/simdag/sd_link.c index e9637b592f..4e0baed990 100644 --- 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 certain link property + * \brief Returns the value of a given link property * * \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, const char* 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