aboutsummaryrefslogtreecommitdiff
path: root/src/stream/stream_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/stream_api.c')
-rw-r--r--src/stream/stream_api.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/stream/stream_api.c b/src/stream/stream_api.c
index 2180f919a..93d9c9fe2 100644
--- a/src/stream/stream_api.c
+++ b/src/stream/stream_api.c
@@ -2370,15 +2370,20 @@ GNUNET_STREAM_open (const struct GNUNET_CONFIGURATION_Handle *cfg,
2370 2370
2371 2371
2372/** 2372/**
2373 * Shutdown the stream for reading or writing (man 2 shutdown). 2373 * Shutdown the stream for reading or writing (similar to man 2 shutdown).
2374 * 2374 *
2375 * @param socket the stream socket 2375 * @param socket the stream socket
2376 * @param how SHUT_RD, SHUT_WR or SHUT_RDWR 2376 * @param opertion SHUT_RD, SHUT_WR or SHUT_RDWR
2377 * @param completion_cb the callback that will be called upon successful
2378 * shutdown of given operation
2379 * @param completion_cls the closure for the completion callback
2377 * @return the shutdown handle 2380 * @return the shutdown handle
2378 */ 2381 */
2379struct GNUNET_STREAM_ShutdownHandle * 2382struct GNUNET_STREAM_ShutdownHandle *
2380GNUNET_STREAM_shutdown (struct GNUNET_STREAM_Socket *socket, 2383GNUNET_STREAM_shutdown (struct GNUNET_STREAM_Socket *socket,
2381 int how) 2384 int operation,
2385 GNUNET_STREAM_ShutdownCompletion completion_cb,
2386 void *completion_cls)
2382{ 2387{
2383 return NULL; 2388 return NULL;
2384} 2389}