diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-05-06 09:55:53 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-05-06 09:55:53 +0000 |
commit | 998cb5efab59bfc5cdf9b324273b367fa8278c0b (patch) | |
tree | 1f8770e93fc6f2c1c08796d20867993937f63327 /src/include/gnunet_server_lib.h | |
parent | 1948cedcb5e7c5017dcd18ef087f0f7e5aa5f27f (diff) | |
download | gnunet-998cb5efab59bfc5cdf9b324273b367fa8278c0b.tar.gz gnunet-998cb5efab59bfc5cdf9b324273b367fa8278c0b.zip |
changes required for arm fix
Diffstat (limited to 'src/include/gnunet_server_lib.h')
-rw-r--r-- | src/include/gnunet_server_lib.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h index 351c0a7c1..6d495c1c0 100644 --- a/src/include/gnunet_server_lib.h +++ b/src/include/gnunet_server_lib.h | |||
@@ -187,6 +187,15 @@ struct GNUNET_CONNECTION_TransmitHandle | |||
187 | 187 | ||
188 | 188 | ||
189 | /** | 189 | /** |
190 | * Set the persistent flag on this client, used to setup client connection | ||
191 | * to only be killed when the service it's connected to is actually dead. | ||
192 | * | ||
193 | * @param client the client to set the persistent flag on | ||
194 | */ | ||
195 | void | ||
196 | GNUNET_SERVER_client_persist_ (struct GNUNET_SERVER_Client *client); | ||
197 | |||
198 | /** | ||
190 | * Resume receiving from this client, we are done processing the | 199 | * Resume receiving from this client, we are done processing the |
191 | * current request. This function must be called from within each | 200 | * current request. This function must be called from within each |
192 | * GNUNET_SERVER_MessageCallback (or its respective continuations). | 201 | * GNUNET_SERVER_MessageCallback (or its respective continuations). |
@@ -317,8 +326,9 @@ typedef int (*GNUNET_SERVER_CheckCallback) (void *cls); | |||
317 | * Destroy this connection (free resources). | 326 | * Destroy this connection (free resources). |
318 | * | 327 | * |
319 | * @param cls closure | 328 | * @param cls closure |
329 | * @pararm persist when connection is closed, "leak" socket | ||
320 | */ | 330 | */ |
321 | typedef void (*GNUNET_SERVER_DestroyCallback) (void *cls); | 331 | typedef void (*GNUNET_SERVER_DestroyCallback) (void *cls, int persist); |
322 | 332 | ||
323 | 333 | ||
324 | /** | 334 | /** |