* 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)
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
* @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);
/**