aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-06 11:52:54 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-06 11:52:54 +0000
commit974cf0e80d8b65d459aa9cf15448184e657d3e39 (patch)
treef38dd3787e5effd2edf7366bbf2eeb344651b24c /src/include
parent59e49f5bfd27f228c73dfbefbc010bbb3fd94774 (diff)
downloadgnunet-974cf0e80d8b65d459aa9cf15448184e657d3e39.tar.gz
gnunet-974cf0e80d8b65d459aa9cf15448184e657d3e39.zip
disable warning if we intentionally throttle a connection
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_server_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h
index a0097589b..ca2041984 100644
--- a/src/include/gnunet_server_lib.h
+++ b/src/include/gnunet_server_lib.h
@@ -226,6 +226,16 @@ GNUNET_SERVER_client_persist_ (struct GNUNET_SERVER_Client *client);
226void 226void
227GNUNET_SERVER_receive_done (struct GNUNET_SERVER_Client *client, int success); 227GNUNET_SERVER_receive_done (struct GNUNET_SERVER_Client *client, int success);
228 228
229/**
230 * Disable the warning the server issues if a message is not acknowledged
231 * in a timely fashion. Use this call if a client is intentionally delayed
232 * for a while. Only applies to the current message.
233 *
234 * @param client client for which to disable the warning
235 */
236void
237GNUNET_SERVER_disable_receive_done_warning (struct GNUNET_SERVER_Client *client);
238
229 239
230/** 240/**
231 * Inject a message into the server, pretend it came 241 * Inject a message into the server, pretend it came