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
improve documentation for MSG_host_is_avail
[simgrid.git]
/
src
/
msg
/
msg_host.c
diff --git
a/src/msg/msg_host.c
b/src/msg/msg_host.c
index
0dfb100
..
4518064
100644
(file)
--- a/
src/msg/msg_host.c
+++ b/
src/msg/msg_host.c
@@
-240,9
+240,10
@@
xbt_dict_t MSG_host_get_properties(m_host_t host)
/** \ingroup msg_gos_functions
* \brief Determine if a host is available.
*
/** \ingroup msg_gos_functions
* \brief Determine if a host is available.
*
- * \param h host to test
+ * \param host host to test
+ * \return Returns 1 if host is available, 0 otherwise
*/
*/
-int MSG_host_is_avail(m_host_t h)
+int MSG_host_is_avail(m_host_t h
ost
)
{
xbt_assert((h != NULL), "Invalid parameters (host is NULL)");
return (simcall_host_get_state(h->simdata->smx_host));
{
xbt_assert((h != NULL), "Invalid parameters (host is NULL)");
return (simcall_host_get_state(h->simdata->smx_host));