X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6760cb07d6b57be16928d95339d71e57c4e24f36..1a2592601e29b027872580cbfc364194f8b01ba6:/include/gras/transport.h diff --git a/include/gras/transport.h b/include/gras/transport.h index 8ad34fda3b..0f8f86864d 100644 --- a/include/gras/transport.h +++ b/include/gras/transport.h @@ -53,7 +53,7 @@ XBT_PUBLIC(gras_socket_t) gras_socket_server_ext(unsigned short port, unsigned long int bufSize, int measurement); XBT_PUBLIC(gras_socket_t) - gras_socket_server_range(unsigned short minport, unsigned short maxport, + gras_socket_server_range(unsigned short minport, unsigned short maxport, unsigned long int buf_size, int measurement); /* @}*/ @@ -82,9 +82,9 @@ XBT_PUBLIC(int) gras_socket_my_port(gras_socket_t sock); XBT_PUBLIC(int) gras_socket_peer_port(gras_socket_t sock); /** Get the host name of the remote side */ -XBT_PUBLIC(char *) gras_socket_peer_name(gras_socket_t sock); +XBT_PUBLIC(const char *) gras_socket_peer_name(gras_socket_t sock); /** Get the process name of the remote side */ -XBT_PUBLIC(char *) gras_socket_peer_proc(gras_socket_t sock); +XBT_PUBLIC(const char *) gras_socket_peer_proc(gras_socket_t sock); /* @}*/ /** \defgroup GRAS_sock_meas Using measurement sockets @@ -130,4 +130,4 @@ XBT_PUBLIC(gras_socket_t) gras_socket_server_from_file(const char *path); /* @} */ -#endif /* GRAS_TRANSPORT_H */ +#endif /* GRAS_TRANSPORT_H */