diff options
Diffstat (limited to 'src/include/gnunet_connection_lib.h')
-rw-r--r-- | src/include/gnunet_connection_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_connection_lib.h b/src/include/gnunet_connection_lib.h index c37666e38..c4c76a7eb 100644 --- a/src/include/gnunet_connection_lib.h +++ b/src/include/gnunet_connection_lib.h | |||
@@ -161,14 +161,14 @@ GNUNET_CONNECTION_create_from_existing (struct GNUNET_NETWORK_Handle *osSocket); | |||
161 | * Create a connection handle by accepting on a listen socket. This | 161 | * Create a connection handle by accepting on a listen socket. This |
162 | * function may block if the listen socket has no connection ready. | 162 | * function may block if the listen socket has no connection ready. |
163 | * | 163 | * |
164 | * @param access function to use to check if access is allowed | 164 | * @param access_cb function to use to check if access is allowed |
165 | * @param access_cls closure for access | 165 | * @param access_cb_cls closure for @a access_cb |
166 | * @param lsock listen socket | 166 | * @param lsock listen socket |
167 | * @return the connection handle, NULL on error (for example, access refused) | 167 | * @return the connection handle, NULL on error (for example, access refused) |
168 | */ | 168 | */ |
169 | struct GNUNET_CONNECTION_Handle * | 169 | struct GNUNET_CONNECTION_Handle * |
170 | GNUNET_CONNECTION_create_from_accept (GNUNET_CONNECTION_AccessCheck access, | 170 | GNUNET_CONNECTION_create_from_accept (GNUNET_CONNECTION_AccessCheck access_cb, |
171 | void *access_cls, | 171 | void *access_cb_cls, |
172 | struct GNUNET_NETWORK_Handle *lsock); | 172 | struct GNUNET_NETWORK_Handle *lsock); |
173 | 173 | ||
174 | 174 | ||