diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-19 13:07:19 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-19 13:07:19 +0000 |
commit | f5ab7c6bf4eab568af18db84fe5d37fe43eb2144 (patch) | |
tree | 174f5663729d6033a2456fa60b1b7056cf3cda54 /src/include/gnunet_stream_lib.h | |
parent | c404e1af3fe0bb2521f86927b8e9e17735f7a3dc (diff) | |
download | gnunet-f5ab7c6bf4eab568af18db84fe5d37fe43eb2144.tar.gz gnunet-f5ab7c6bf4eab568af18db84fe5d37fe43eb2144.zip |
- towards cleaner shutdowns
Diffstat (limited to 'src/include/gnunet_stream_lib.h')
-rw-r--r-- | src/include/gnunet_stream_lib.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/gnunet_stream_lib.h b/src/include/gnunet_stream_lib.h index 404844bce..674784fd9 100644 --- a/src/include/gnunet_stream_lib.h +++ b/src/include/gnunet_stream_lib.h | |||
@@ -197,7 +197,10 @@ GNUNET_STREAM_shutdown (struct GNUNET_STREAM_Socket *socket, | |||
197 | 197 | ||
198 | 198 | ||
199 | /** | 199 | /** |
200 | * Cancels a pending shutdown | 200 | * Cancels a pending shutdown. Note that the shutdown messages may already |
201 | * be sent and the stream is shutdown already for the operation given to | ||
202 | * GNUNET_STREAM_shutdown(). This function only clears up any retranmissions of | ||
203 | * shutdown messages and frees the shutdown handle. | ||
201 | * | 204 | * |
202 | * @param handle the shutdown handle returned from GNUNET_STREAM_shutdown | 205 | * @param handle the shutdown handle returned from GNUNET_STREAM_shutdown |
203 | */ | 206 | */ |
@@ -207,7 +210,7 @@ GNUNET_STREAM_shutdown_cancel (struct GNUNET_STREAM_ShutdownHandle *handle); | |||
207 | 210 | ||
208 | /** | 211 | /** |
209 | * Closes the stream and frees the associated state. The stream should be | 212 | * Closes the stream and frees the associated state. The stream should be |
210 | * shutdown before closing. | 213 | * shutdown for both reading and writing before closing. |
211 | * | 214 | * |
212 | * @param socket the stream socket | 215 | * @param socket the stream socket |
213 | */ | 216 | */ |