diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-19 13:59:39 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-19 13:59:39 +0000 |
commit | 35b25e9f0758fa3d4a2ce3f0ab828ab898ed549d (patch) | |
tree | 220fb4d4e2790048dd2771ddb24ecc7cb67fd332 /src/include/gnunet_stream_lib.h | |
parent | f22ba8fd7e5e514ad29277016ba8759d664cbe6c (diff) | |
download | gnunet-35b25e9f0758fa3d4a2ce3f0ab828ab898ed549d.tar.gz gnunet-35b25e9f0758fa3d4a2ce3f0ab828ab898ed549d.zip |
cleanup write handle upon shutdown
Diffstat (limited to 'src/include/gnunet_stream_lib.h')
-rw-r--r-- | src/include/gnunet_stream_lib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/gnunet_stream_lib.h b/src/include/gnunet_stream_lib.h index 674784fd9..5d5307f5f 100644 --- a/src/include/gnunet_stream_lib.h +++ b/src/include/gnunet_stream_lib.h | |||
@@ -279,7 +279,10 @@ GNUNET_STREAM_listen_close (struct GNUNET_STREAM_ListenSocket *lsocket); | |||
279 | * on a stream are executed | 279 | * on a stream are executed |
280 | * | 280 | * |
281 | * @param cls the closure from GNUNET_STREAM_write | 281 | * @param cls the closure from GNUNET_STREAM_write |
282 | * @param status the status of the stream at the time this function is called | 282 | * @param status the status of the stream at the time this function is called; |
283 | * GNUNET_OK if writing to stream was completed successfully, | ||
284 | * GNUNET_STREAM_SHUTDOWN if the stream is shutdown for writing in the | ||
285 | * mean time. | ||
283 | * @param size the number of bytes written | 286 | * @param size the number of bytes written |
284 | */ | 287 | */ |
285 | typedef void (*GNUNET_STREAM_CompletionContinuation) (void *cls, | 288 | typedef void (*GNUNET_STREAM_CompletionContinuation) (void *cls, |