aboutsummaryrefslogtreecommitdiff
path: root/src/dht/dht.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-08-10 16:24:53 +0000
committerNathan S. Evans <evans@in.tum.de>2010-08-10 16:24:53 +0000
commitcab00729856bdbe0c60f298a79b1f12aac2aee8b (patch)
tree14ea5bf0b19dca878e5f5aafcf69599e3e4726b7 /src/dht/dht.h
parent0cd34604e5497edad8fa3a761ef626ad7168c90a (diff)
downloadgnunet-cab00729856bdbe0c60f298a79b1f12aac2aee8b.tar.gz
gnunet-cab00729856bdbe0c60f298a79b1f12aac2aee8b.zip
api change to allow client to set DHT malicious, still need to implement it on the dht driver side
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r--src/dht/dht.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h
index aeb65a99b..ada628bff 100644
--- a/src/dht/dht.h
+++ b/src/dht/dht.h
@@ -61,6 +61,23 @@
61typedef void (*GNUNET_DHT_MessageReceivedHandler) (void *cls, 61typedef void (*GNUNET_DHT_MessageReceivedHandler) (void *cls,
62 const struct GNUNET_MessageHeader 62 const struct GNUNET_MessageHeader
63 *msg); 63 *msg);
64struct GNUNET_DHT_ControlMessage
65{
66 /**
67 * Type: GNUNET_MESSAGE_TYPE_DHT_CONTROL
68 */
69 struct GNUNET_MessageHeader header;
70
71 /**
72 * Command code of the message.
73 */
74 uint16_t command;
75
76 /**
77 * Variable parameter for the command.
78 */
79 uint16_t variable;
80};
64 81
65/** 82/**
66 * Message which indicates the DHT should cancel outstanding 83 * Message which indicates the DHT should cancel outstanding