aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_network_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-08 19:00:19 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-08 19:00:19 +0000
commitfe947a9704bed14c2fc74b2f2069596fe884cbad (patch)
tree644efdaa37d692b09f8e279bfe5e8b2ebe81448b /src/include/gnunet_network_lib.h
parenta8b0ab037820f6a9f405be3855ce8d3ebbd4399b (diff)
downloadgnunet-fe947a9704bed14c2fc74b2f2069596fe884cbad.tar.gz
gnunet-fe947a9704bed14c2fc74b2f2069596fe884cbad.zip
better comments
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r--src/include/gnunet_network_lib.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h
index d966c3afe..e4ba55854 100644
--- a/src/include/gnunet_network_lib.h
+++ b/src/include/gnunet_network_lib.h
@@ -100,11 +100,12 @@ int GNUNET_NETWORK_socket_close (struct GNUNET_NETWORK_Handle *desc);
100 * 100 *
101 * @param desc socket to connect 101 * @param desc socket to connect
102 * @param address peer address 102 * @param address peer address
103 * @param length of address 103 * @param address_len of address
104 * @return GNUNET_OK on success, GNUNET_SYSERR otherwise 104 * @return GNUNET_OK on success, GNUNET_SYSERR otherwise
105 */ 105 */
106int GNUNET_NETWORK_socket_connect (const struct GNUNET_NETWORK_Handle *desc, 106int GNUNET_NETWORK_socket_connect (const struct GNUNET_NETWORK_Handle *desc,
107 const struct sockaddr *address, socklen_t address_len); 107 const struct sockaddr *address,
108 socklen_t address_len);
108 109
109 110
110/** 111/**
@@ -262,7 +263,7 @@ void GNUNET_NETWORK_fdset_copy(struct GNUNET_NETWORK_FDSet *to,
262 * Copy a native fd set 263 * Copy a native fd set
263 * @param to destination 264 * @param to destination
264 * @param from native source set 265 * @param from native source set
265 * @param the biggest socket number in from + 1 266 * @param nfds the biggest socket number in from + 1
266 */ 267 */
267void GNUNET_NETWORK_fdset_copy_native (struct GNUNET_NETWORK_FDSet *to, 268void GNUNET_NETWORK_fdset_copy_native (struct GNUNET_NETWORK_FDSet *to,
268 const fd_set *from, 269 const fd_set *from,