X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1e56742544f7195c4cc0525569d610b0ba0e3d8c..71855c3d4eb59aa687b05fa351bb09df42495a43:/src/simdag/sd_workstation.c diff --git a/src/simdag/sd_workstation.c b/src/simdag/sd_workstation.c index fab8673af8..814c09171d 100644 --- a/src/simdag/sd_workstation.c +++ b/src/simdag/sd_workstation.c @@ -130,20 +130,20 @@ const char* SD_workstation_get_name(SD_workstation_t workstation) { } /** - * \brief Returns the value of a certain workstation property + * \brief Returns the value of a given workstation 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_workstation_get_property_value(SD_workstation_t ws, char* name) +const char* SD_workstation_get_property_value(SD_workstation_t ws, const char* name) { return xbt_dict_get_or_null(SD_workstation_get_properties(ws), name); } /** - * \brief Returns a xbt_dynar_t consisting of the list of properties assigned to this workstation + * \brief Returns a #xbt_dict_t consisting of the list of properties assigned to this workstation * * \param workstation a workstation * \return the dictionary containing the properties associated with the workstation