diff options
Diffstat (limited to 'src/core/gnunet-service-core_clients.h')
-rw-r--r-- | src/core/gnunet-service-core_clients.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/gnunet-service-core_clients.h b/src/core/gnunet-service-core_clients.h index e39ce616f..a9d712442 100644 --- a/src/core/gnunet-service-core_clients.h +++ b/src/core/gnunet-service-core_clients.h | |||
@@ -107,15 +107,20 @@ GSC_CLIENTS_solicit_request (struct GSC_ClientActiveRequest *car); | |||
107 | 107 | ||
108 | 108 | ||
109 | /** | 109 | /** |
110 | * Tell a client that we will never be ready to receive the | 110 | * We will never be ready to transmit the given message in (disconnect |
111 | * given message in time (disconnect or timeout). | 111 | * or invalid request). Frees resources associated with @a car. We |
112 | * don't explicitly tell the client, he'll learn with the disconnect | ||
113 | * (or violated the protocol). | ||
112 | * | 114 | * |
113 | * @param car request that now permanently failed; the | 115 | * @param car request that now permanently failed; the |
114 | * responsibility for the handle is now returned | 116 | * responsibility for the handle is now returned |
115 | * to CLIENTS (SESSIONS is done with it). | 117 | * to CLIENTS (SESSIONS is done with it). |
118 | * @param drop_client #GNUNET_YES if the client violated the protocol | ||
119 | * and we should thus drop the connection | ||
116 | */ | 120 | */ |
117 | void | 121 | void |
118 | GSC_CLIENTS_reject_request (struct GSC_ClientActiveRequest *car); | 122 | GSC_CLIENTS_reject_request (struct GSC_ClientActiveRequest *car, |
123 | int drop_client); | ||
119 | 124 | ||
120 | 125 | ||
121 | /** | 126 | /** |