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
Fix compilation failure.
[simgrid.git]
/
include
/
gras
/
transport.h
diff --git
a/include/gras/transport.h
b/include/gras/transport.h
index
ae9b126
..
0f8f868
100644
(file)
--- a/
include/gras/transport.h
+++ b/
include/gras/transport.h
@@
-1,10
+1,9
@@
-/* $Id$ */
-
/* transport - low level communication (send/receive bunches of bytes) */
/* module's public interface exported to end user. */
/* transport - low level communication (send/receive bunches of bytes) */
/* module's public interface exported to end user. */
-/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-54,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)
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);
/* @}*/
unsigned long int buf_size, int measurement);
/* @}*/
@@
-83,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(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(c
onst c
har *) gras_socket_peer_name(gras_socket_t sock);
/** Get the process name of the remote side */
/** Get the process name of the remote side */
-XBT_PUBLIC(char *) gras_socket_peer_proc(gras_socket_t sock);
+XBT_PUBLIC(c
onst c
har *) gras_socket_peer_proc(gras_socket_t sock);
/* @}*/
/** \defgroup GRAS_sock_meas Using measurement sockets
/* @}*/
/** \defgroup GRAS_sock_meas Using measurement sockets
@@
-131,4
+130,4
@@
XBT_PUBLIC(gras_socket_t) gras_socket_server_from_file(const char *path);
/* @} */
/* @} */
-#endif /* GRAS_TRANSPORT_H */
+#endif
/* GRAS_TRANSPORT_H */