aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dht_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_dht_service.h')
-rw-r--r--src/include/gnunet_dht_service.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h
index 33c6551db..31d66ccf0 100644
--- a/src/include/gnunet_dht_service.h
+++ b/src/include/gnunet_dht_service.h
@@ -391,6 +391,19 @@ void
391GNUNET_DHT_monitor_stop (struct GNUNET_DHT_MonitorHandle *handle); 391GNUNET_DHT_monitor_stop (struct GNUNET_DHT_MonitorHandle *handle);
392 392
393 393
394#if ENABLE_MALICIOUS
395/**
396 * Turn the DHT service to act malicious depending on @a flag
397 *
398 * @param handle the DHT handle
399 * @param action 1 to make the service malicious; 0 to make it benign
400 FIXME: perhaps make this an enum of known malicious behaviors?
401 */
402void
403GNUNET_DHT_malicious (struct GNUNET_DHT_Handle *handle, unsigned int action);
404#endif
405
406
394#if 0 /* keep Emacsens' auto-indent happy */ 407#if 0 /* keep Emacsens' auto-indent happy */
395{ 408{
396#endif 409#endif