aboutsummaryrefslogtreecommitdiff
path: root/src/dht/dht.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-04-19 15:16:38 +0000
committerNathan S. Evans <evans@in.tum.de>2010-04-19 15:16:38 +0000
commitc5fee7d95eaa1695999c12d059b0aa4bc566d836 (patch)
tree062ba8d6e248ccb219d081bfcab6ed3790f95676 /src/dht/dht.h
parentc268decf67ed3178b8f9beee5b6fff11ee0c0037 (diff)
downloadgnunet-c5fee7d95eaa1695999c12d059b0aa4bc566d836.tar.gz
gnunet-c5fee7d95eaa1695999c12d059b0aa4bc566d836.zip
dht api fixes, it works again (for me)
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r--src/dht/dht.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h
index 2bafc3694..93ac9fa69 100644
--- a/src/dht/dht.h
+++ b/src/dht/dht.h
@@ -34,12 +34,13 @@ typedef void (*GNUNET_DHT_MessageReceivedHandler) (void *cls,
34 * msg); 34 * msg);
35 35
36/** 36/**
37 * FIXME. 37 * Message which indicates the DHT should cancel outstanding
38 * requests and discard any state.
38 */ 39 */
39struct GNUNET_DHT_StopMessage 40struct GNUNET_DHT_StopMessage
40{ 41{
41 /** 42 /**
42 * Type: GNUNET_MESSAGE_TYPE_DHT_MESSAGE 43 * Type: GNUNET_MESSAGE_TYPE_DHT_STOP
43 */ 44 */
44 struct GNUNET_MessageHeader header; 45 struct GNUNET_MessageHeader header;
45 46
@@ -57,7 +58,8 @@ struct GNUNET_DHT_StopMessage
57 58
58 59
59/** 60/**
60 * Generic DHT message, wrapper for other message types 61 * Generic DHT message, indicates that a route request
62 * should be issued.
61 */ 63 */
62struct GNUNET_DHT_RouteMessage 64struct GNUNET_DHT_RouteMessage
63{ 65{
@@ -77,7 +79,8 @@ struct GNUNET_DHT_RouteMessage
77 GNUNET_HashCode key; 79 GNUNET_HashCode key;
78 80
79 /** 81 /**
80 * Unique ID identifying this request 82 * Unique ID identifying this request, if 0 then
83 * the client will not expect a response
81 */ 84 */
82 uint64_t unique_id GNUNET_PACKED; 85 uint64_t unique_id GNUNET_PACKED;
83 86
@@ -86,12 +89,6 @@ struct GNUNET_DHT_RouteMessage
86 */ 89 */
87 uint32_t desired_replication_level GNUNET_PACKED; 90 uint32_t desired_replication_level GNUNET_PACKED;
88 91
89 /**
90 * Is this message uniquely identified? If so it will
91 * be fire and forget, if not we will wait for a receipt
92 * from the service.
93 */
94 uint32_t unique GNUNET_PACKED;
95 92
96 /* GNUNET_MessageHeader *enc actual DHT message, copied to end of this dealy do */ 93 /* GNUNET_MessageHeader *enc actual DHT message, copied to end of this dealy do */
97 94