aboutsummaryrefslogtreecommitdiff
path: root/src/dht/dht.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-04-09 16:21:05 +0000
committerNathan S. Evans <evans@in.tum.de>2010-04-09 16:21:05 +0000
commitb85f126feb0f722be9c37a5ba0fa1a053b82a704 (patch)
treebb3c4d5226e6d1c7c23e169771329c1b6c8a4a60 /src/dht/dht.h
parent1ea93db989173e26d88f1274ed00dec633b9a8bc (diff)
downloadgnunet-b85f126feb0f722be9c37a5ba0fa1a053b82a704.tar.gz
gnunet-b85f126feb0f722be9c37a5ba0fa1a053b82a704.zip
inexorably closer to perfection
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r--src/dht/dht.h29
1 files changed, 27 insertions, 2 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h
index 38503cfe2..2bafc3694 100644
--- a/src/dht/dht.h
+++ b/src/dht/dht.h
@@ -59,10 +59,10 @@ struct GNUNET_DHT_StopMessage
59/** 59/**
60 * Generic DHT message, wrapper for other message types 60 * Generic DHT message, wrapper for other message types
61 */ 61 */
62struct GNUNET_DHT_Message 62struct GNUNET_DHT_RouteMessage
63{ 63{
64 /** 64 /**
65 * Type: GNUNET_MESSAGE_TYPE_DHT_MESSAGE 65 * Type: GNUNET_MESSAGE_TYPE_DHT_ROUTE
66 */ 66 */
67 struct GNUNET_MessageHeader header; 67 struct GNUNET_MessageHeader header;
68 68
@@ -97,6 +97,31 @@ struct GNUNET_DHT_Message
97 97
98}; 98};
99 99
100struct GNUNET_DHT_RouteResultMessage
101{
102 /**
103 * Type: GNUNET_MESSAGE_TYPE_DHT_ROUTE_RESULT
104 */
105 struct GNUNET_MessageHeader header;
106
107 /**
108 * Message options
109 */
110 uint32_t options GNUNET_PACKED;
111
112 /**
113 * The key that was searched for
114 */
115 GNUNET_HashCode key;
116
117 /**
118 * Unique ID identifying this request
119 */
120 uint64_t unique_id GNUNET_PACKED;
121
122 /* GNUNET_MessageHeader *enc actual DHT message, copied to end of this dealy do */
123};
124
100/** 125/**
101 * Message to insert data into the DHT 126 * Message to insert data into the DHT
102 */ 127 */