diff options
-rw-r--r-- | src/include/gnunet_server_lib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h index 2bb530443..3ada838b6 100644 --- a/src/include/gnunet_server_lib.h +++ b/src/include/gnunet_server_lib.h | |||
@@ -226,6 +226,20 @@ GNUNET_SERVER_client_persist_ (struct GNUNET_SERVER_Client *client); | |||
226 | void | 226 | void |
227 | GNUNET_SERVER_receive_done (struct GNUNET_SERVER_Client *client, int success); | 227 | GNUNET_SERVER_receive_done (struct GNUNET_SERVER_Client *client, int success); |
228 | 228 | ||
229 | |||
230 | /** | ||
231 | * Change the timeout for a particular client. Decreasing the timeout | ||
232 | * may not go into effect immediately (only after the previous timeout | ||
233 | * times out or activity happens on the socket). | ||
234 | * | ||
235 | * @param client the client to update | ||
236 | * @param timeout new timeout for activities on the socket | ||
237 | */ | ||
238 | void | ||
239 | GNUNET_SERVER_client_set_timeout (struct GNUNET_SERVER_Client *client, | ||
240 | struct GNUNET_TIME_Relative timeout); | ||
241 | |||
242 | |||
229 | /** | 243 | /** |
230 | * Disable the warning the server issues if a message is not acknowledged | 244 | * 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 | 245 | * in a timely fashion. Use this call if a client is intentionally delayed |