diff options
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r-- | src/dht/dht.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h index 68591a97e..6c2f4cbd8 100644 --- a/src/dht/dht.h +++ b/src/dht/dht.h | |||
@@ -30,7 +30,8 @@ | |||
30 | #define DEBUG_DHT GNUNET_NO | 30 | #define DEBUG_DHT GNUNET_NO |
31 | 31 | ||
32 | typedef void (*GNUNET_DHT_MessageReceivedHandler) (void *cls, | 32 | typedef void (*GNUNET_DHT_MessageReceivedHandler) (void *cls, |
33 | struct GNUNET_MessageHeader *msg); | 33 | struct GNUNET_MessageHeader |
34 | * msg); | ||
34 | 35 | ||
35 | /** | 36 | /** |
36 | * Generic DHT message, wrapper for other message types | 37 | * Generic DHT message, wrapper for other message types |
@@ -159,6 +160,11 @@ struct GNUNET_DHT_GetResultMessage | |||
159 | GNUNET_HashCode key; | 160 | GNUNET_HashCode key; |
160 | 161 | ||
161 | /** | 162 | /** |
163 | * When does this entry expire? | ||
164 | */ | ||
165 | struct GNUNET_TIME_Absolute expiration; | ||
166 | |||
167 | /** | ||
162 | * The size of the data, appended to the end of this message. | 168 | * The size of the data, appended to the end of this message. |
163 | */ | 169 | */ |
164 | size_t data_size; | 170 | size_t data_size; |