X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e8ea353a0ed7c46e9cab26b6b25e0ee92701df53..c45ece9f4e79e326e1c803151d6a2ea7cffafa33:/include/gras/virtu.h diff --git a/include/gras/virtu.h b/include/gras/virtu.h index 837ede6ab6..8fe94ab9c3 100644 --- a/include/gras/virtu.h +++ b/include/gras/virtu.h @@ -53,6 +53,13 @@ gras_os_myname(void); /** @brief returns the number on which this process is listening for incoming messages */ XBT_PUBLIC(int) gras_os_myport(void); +/** @brief get the uri of the current process + * + * Returns the concatenation of gras_os_myname():gras_os_myport(). Please do not free the result. + */ +XBT_PUBLIC(const char *) +gras_os_hostport(void); + /** @brief get process identification * * Returns the process ID of the current process. (This is often used