From 90c0d0137a71dc752066ae2922ae0dedf6f8b63e Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Sun, 4 Apr 2010 14:14:15 +0000 Subject: service does simple put and get into datacache, test case verifies it works --- src/dht/dht.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/dht/dht.h') 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 @@ #define DEBUG_DHT GNUNET_NO typedef void (*GNUNET_DHT_MessageReceivedHandler) (void *cls, - struct GNUNET_MessageHeader *msg); + struct GNUNET_MessageHeader + * msg); /** * Generic DHT message, wrapper for other message types @@ -158,6 +159,11 @@ struct GNUNET_DHT_GetResultMessage */ GNUNET_HashCode key; + /** + * When does this entry expire? + */ + struct GNUNET_TIME_Absolute expiration; + /** * The size of the data, appended to the end of this message. */ -- cgit v1.2.3