diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-03-08 15:24:09 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-03-08 15:24:09 +0000 |
commit | b2e82d34bc2a189f37c1c90ac2c7c93b1bc00e92 (patch) | |
tree | 325db698ec51e32353253041b05489b5cd90e0fd /src/include/gnunet_dht_service.h | |
parent | c7302b83749bbb3093c8202b42de2e0bc0434ac3 (diff) | |
download | gnunet-b2e82d34bc2a189f37c1c90ac2c7c93b1bc00e92.tar.gz gnunet-b2e82d34bc2a189f37c1c90ac2c7c93b1bc00e92.zip |
api change for malicious peer bug when running distributed tests, stop arm from repeatedly trying to bind to blank unixpath
Diffstat (limited to 'src/include/gnunet_dht_service.h')
-rw-r--r-- | src/include/gnunet_dht_service.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h index d4b4d9a4c..e57dd718c 100644 --- a/src/include/gnunet_dht_service.h +++ b/src/include/gnunet_dht_service.h | |||
@@ -384,9 +384,13 @@ GNUNET_DHT_find_peers (struct GNUNET_DHT_Handle *handle, | |||
384 | * all requests received. | 384 | * all requests received. |
385 | * | 385 | * |
386 | * @param handle handle to the DHT service | 386 | * @param handle handle to the DHT service |
387 | * @param cont continuation to call when done (transmitting request to service) | ||
388 | * @param cont_cls closure for cont | ||
389 | * | ||
387 | */ | 390 | */ |
388 | void | 391 | void |
389 | GNUNET_DHT_set_malicious_dropper (struct GNUNET_DHT_Handle *handle); | 392 | GNUNET_DHT_set_malicious_dropper (struct GNUNET_DHT_Handle *handle, GNUNET_SCHEDULER_Task cont, |
393 | void *cont_cls); | ||
390 | 394 | ||
391 | 395 | ||
392 | /** | 396 | /** |
@@ -394,11 +398,14 @@ GNUNET_DHT_set_malicious_dropper (struct GNUNET_DHT_Handle *handle); | |||
394 | * requests every 'frequency' milliseconds. | 398 | * requests every 'frequency' milliseconds. |
395 | * | 399 | * |
396 | * @param handle handle to the DHT service | 400 | * @param handle handle to the DHT service |
397 | * @param frequency delay (in milliseconds) between sending malicious messages | 401 | * @param frequency delay between sending malicious messages |
402 | * @param cont continuation to call when done (transmitting request to service) | ||
403 | * @param cont_cls closure for cont | ||
398 | */ | 404 | */ |
399 | void | 405 | void |
400 | GNUNET_DHT_set_malicious_putter (struct GNUNET_DHT_Handle *handle, | 406 | GNUNET_DHT_set_malicious_putter (struct GNUNET_DHT_Handle *handle, |
401 | struct GNUNET_TIME_Relative frequency); | 407 | struct GNUNET_TIME_Relative frequency, GNUNET_SCHEDULER_Task cont, |
408 | void *cont_cls); | ||
402 | 409 | ||
403 | 410 | ||
404 | /** | 411 | /** |
@@ -407,10 +414,13 @@ GNUNET_DHT_set_malicious_putter (struct GNUNET_DHT_Handle *handle, | |||
407 | * | 414 | * |
408 | * @param handle handle to the DHT service | 415 | * @param handle handle to the DHT service |
409 | * @param frequency delay between sending malicious messages | 416 | * @param frequency delay between sending malicious messages |
417 | * @param cont continuation to call when done (transmitting request to service) | ||
418 | * @param cont_cls closure for cont | ||
410 | */ | 419 | */ |
411 | void | 420 | void |
412 | GNUNET_DHT_set_malicious_getter (struct GNUNET_DHT_Handle *handle, | 421 | GNUNET_DHT_set_malicious_getter (struct GNUNET_DHT_Handle *handle, |
413 | struct GNUNET_TIME_Relative frequency); | 422 | struct GNUNET_TIME_Relative frequency, GNUNET_SCHEDULER_Task cont, |
423 | void *cont_cls); | ||
414 | 424 | ||
415 | 425 | ||
416 | #endif | 426 | #endif |