naming
[oweals/gnunet.git] / src / dht / gnunet-service-dht_datacache.h
index ecb3a24a189b244a87feb01f4374ef1f659a9db5..ccd854570a6a14b8e26bd6857c7a25469ecc81a8 100644 (file)
@@ -27,6 +27,9 @@
 #ifndef GNUNET_SERVICE_DHT_DATACACHE_H
 #define GNUNET_SERVICE_DHT_DATACACHE_H
 
+#include "gnunet_util_lib.h"
+#include "gnunet_block_lib.h"
+
 /**
  * Handle a datum we've received from another peer.  Cache if
  * possible.
@@ -58,8 +61,9 @@ GDS_DATACACHE_handle_put (struct GNUNET_TIME_Absolute expiration,
  * @param xquery_size number of bytes in xquery
  * @param reply_bf where the reply bf is (to be) stored, possibly updated!, can be NULL
  * @param reply_bf_mutator mutation value for reply_bf
+ * @return evaluation result for the local replies
  */
-void
+enum GNUNET_BLOCK_EvaluationResult 
 GDS_DATACACHE_handle_get (const GNUNET_HashCode *key,
                          enum GNUNET_BLOCK_Type type,
                          const void *xquery,