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
new function gras_os_hostport, returning a constant form of gras_os_myname():gras_os_...
[simgrid.git]
/
include
/
gras
/
virtu.h
diff --git
a/include/gras/virtu.h
b/include/gras/virtu.h
index
837ede6
..
8fe94ab
100644
(file)
--- 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 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
/** @brief get process identification
*
* Returns the process ID of the current process. (This is often used