aboutsummaryrefslogtreecommitdiff
path: root/src/include/anastasis.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/anastasis.h')
-rw-r--r--src/include/anastasis.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/anastasis.h b/src/include/anastasis.h
index fd7ed40..b957f18 100644
--- a/src/include/anastasis.h
+++ b/src/include/anastasis.h
@@ -207,6 +207,24 @@ struct ANASTASIS_ChallengeStartResponse
207 unsigned int http_status; 207 unsigned int http_status;
208 } open_challenge; 208 } open_challenge;
209 209
210 /**
211 * Details for #ANASTASIS_CHALLENGE_STATUS_RATE_LIMIT_EXCEEDED.
212 */
213 struct
214 {
215
216 /**
217 * How many requests are allowed at most per @e request_frequency?
218 */
219 uint32_t request_limit;
220
221 /**
222 * Frequency at which requests are allowed / new challenges are
223 * created.
224 */
225 struct GNUNET_TIME_Relative request_frequency;
226
227 } rate_limit_exceeded;
210 228
211 /** 229 /**
212 * Response with details if 230 * Response with details if