gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8784 - in gnunet: . src/include


From: gnunet
Subject: [GNUnet-SVN] r8784 - in gnunet: . src/include
Date: Sat, 25 Jul 2009 17:13:12 -0600

Author: grothoff
Date: 2009-07-25 17:13:12 -0600 (Sat, 25 Jul 2009)
New Revision: 8784

Modified:
   gnunet/TODO
   gnunet/src/include/gnunet_datacache_lib.h
Log:
done

Modified: gnunet/TODO
===================================================================
--- gnunet/TODO 2009-07-25 23:12:26 UTC (rev 8783)
+++ gnunet/TODO 2009-07-25 23:13:12 UTC (rev 8784)
@@ -5,6 +5,8 @@
 * 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 @@
 
 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

Modified: gnunet/src/include/gnunet_datacache_lib.h
===================================================================
--- gnunet/src/include/gnunet_datacache_lib.h   2009-07-25 23:12:26 UTC (rev 
8783)
+++ gnunet/src/include/gnunet_datacache_lib.h   2009-07-25 23:13:12 UTC (rev 
8784)
@@ -78,12 +78,13 @@
  * @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);
 
 
 /**





reply via email to

[Prev in Thread] Current Thread [Next in Thread]