diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-24 22:17:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-24 22:17:15 +0000 |
commit | c015c83440507c1503c07d39740f13075efd926c (patch) | |
tree | 6131a6dcdd64ca175023a3929bf74444c9565b7d /src/include/gnunet_stream_lib.h | |
parent | ad16d03db236ff504ec7ed2cbd32c5a6653bc315 (diff) | |
download | gnunet-c015c83440507c1503c07d39740f13075efd926c.tar.gz gnunet-c015c83440507c1503c07d39740f13075efd926c.zip |
-ensure that either stream_api calls callbacks last or that we don't destroy a stream handle while it is in use below us on the stack
Diffstat (limited to 'src/include/gnunet_stream_lib.h')
-rw-r--r-- | src/include/gnunet_stream_lib.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/gnunet_stream_lib.h b/src/include/gnunet_stream_lib.h index b7e3e4ce2..d81218364 100644 --- a/src/include/gnunet_stream_lib.h +++ b/src/include/gnunet_stream_lib.h | |||
@@ -246,12 +246,10 @@ struct GNUNET_STREAM_ListenSocket; | |||
246 | * Listens for stream connections for a specific application ports | 246 | * Listens for stream connections for a specific application ports |
247 | * | 247 | * |
248 | * @param cfg the configuration to use | 248 | * @param cfg the configuration to use |
249 | * | ||
250 | * @param app_port the application port for which new streams will be | 249 | * @param app_port the application port for which new streams will be |
251 | * accepted. If another stream is listening on the same port the | 250 | * accepted. If another stream is listening on the same port the |
252 | * listen_cb will be called to signal binding error and the returned | 251 | * listen_cb will be called to signal binding error and the returned |
253 | * ListenSocket will be invalidated. | 252 | * ListenSocket will be invalidated. |
254 | * | ||
255 | * @param listen_cb this function will be called when a peer tries to establish | 253 | * @param listen_cb this function will be called when a peer tries to establish |
256 | * a stream with us | 254 | * a stream with us |
257 | * @param listen_cb_cls closure for listen_cb | 255 | * @param listen_cb_cls closure for listen_cb |