done
authorChristian Grothoff <christian@grothoff.org>
Sat, 25 Jul 2009 23:13:12 +0000 (23:13 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 25 Jul 2009 23:13:12 +0000 (23:13 +0000)
TODO
src/include/gnunet_datacache_lib.h

diff --git a/TODO b/TODO
index 6c3bdeef2e5d5ab7a2df8624dd5a1835a5d257a1..b6fca4e15fd32bfb225dbf669de3f501c30f9ce4 100644 (file)
--- a/TODO
+++ b/TODO
@@ -5,6 +5,8 @@ Util:
 * only connect() sockets that are ready (select()) [Nils]
   [On W32, we need to select after calling socket before
    doing connect etc.]
+* Add "DISK" API for creating of temporary files
+  (as used in datacache/ module)
 
 PHASE #2: (Goal: recover basic file-sharing functionality)
 
@@ -59,9 +61,6 @@ that would cause them to be executed and check that they are working:
 
 Module features to implement:
 * datacache (needed for DHT)
-  - design plugin API
-  - implement sqlite-based dstore plugin
-  - implement dstore API
   - implement testcases for dstore API 
   - implement testcases for dstore plugin
   - implement performance tests
index 1ee8eb8e27f3d715ccec489f731eb754b6d1cba3..c913a646283b15184654a861ebb322a420556b69 100644 (file)
@@ -78,12 +78,13 @@ void GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h);
  * @param size number of bytes in data
  * @param data content stored
  * @param type type of the content
+ * @return GNUNET_OK to continue iterating, GNUNET_SYSERR to abort
  */
-typedef void (*GNUNET_DATACACHE_Iterator) (void *cls,
-                                          const GNUNET_HashCode * key,
-                                          uint32_t size,
-                                          const char *data,
-                                          uint32_t type);
+typedef int (*GNUNET_DATACACHE_Iterator) (void *cls,
+                                         const GNUNET_HashCode * key,
+                                         uint32_t size,
+                                         const char *data,
+                                         uint32_t type);
 
 
 /**