diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-20 09:24:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-20 09:24:05 +0000 |
commit | fc3387a40578c2ec8d0dc28d9d4ff9c9998a6e81 (patch) | |
tree | c787bb93154683716b891e0ef0b6590dad60d916 /src/include/gnunet_server_lib.h | |
parent | 5b3c889e3795aff706409921b622228a43d04205 (diff) | |
download | gnunet-fc3387a40578c2ec8d0dc28d9d4ff9c9998a6e81.tar.gz gnunet-fc3387a40578c2ec8d0dc28d9d4ff9c9998a6e81.zip |
Mantis 1716:
Diffstat (limited to 'src/include/gnunet_server_lib.h')
-rw-r--r-- | src/include/gnunet_server_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h index ca2041984..2bb530443 100644 --- a/src/include/gnunet_server_lib.h +++ b/src/include/gnunet_server_lib.h | |||
@@ -384,6 +384,18 @@ GNUNET_SERVER_ignore_shutdown (struct GNUNET_SERVER_Handle *h, | |||
384 | 384 | ||
385 | 385 | ||
386 | /** | 386 | /** |
387 | * Disable the "CORK" feature for communication with the given client, | ||
388 | * forcing the OS to immediately flush the buffer on transmission | ||
389 | * instead of potentially buffering multiple messages. | ||
390 | * | ||
391 | * @param client handle to the client | ||
392 | * @return GNUNET_OK on success | ||
393 | */ | ||
394 | int | ||
395 | GNUNET_SERVER_client_disable_corking (struct GNUNET_SERVER_Client *client); | ||
396 | |||
397 | |||
398 | /** | ||
387 | * The tansmit context is the key datastructure for a conveniance API | 399 | * The tansmit context is the key datastructure for a conveniance API |
388 | * used for transmission of complex results to the client followed | 400 | * used for transmission of complex results to the client followed |
389 | * ONLY by signaling receive_done with success or error | 401 | * ONLY by signaling receive_done with success or error |