aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datacache_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-26 21:47:30 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-26 21:47:30 +0000
commit138b0402c39ff1c8e725bc1fe3f96e0d7e82dd70 (patch)
tree74d69e9699cdfd40c1c07d43247401a693583fd6 /src/include/gnunet_datacache_lib.h
parent004df66e9aafab7fa042661cf1bb7879de5064be (diff)
downloadgnunet-138b0402c39ff1c8e725bc1fe3f96e0d7e82dd70.tar.gz
gnunet-138b0402c39ff1c8e725bc1fe3f96e0d7e82dd70.zip
DHT and datacache API refinements
Diffstat (limited to 'src/include/gnunet_datacache_lib.h')
-rw-r--r--src/include/gnunet_datacache_lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gnunet_datacache_lib.h b/src/include/gnunet_datacache_lib.h
index 8eb724bfa..3bd76df32 100644
--- a/src/include/gnunet_datacache_lib.h
+++ b/src/include/gnunet_datacache_lib.h
@@ -74,6 +74,7 @@ void GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h);
74 * An iterator over a set of items stored in the datacache. 74 * An iterator over a set of items stored in the datacache.
75 * 75 *
76 * @param cls closure 76 * @param cls closure
77 * @param exp when will the content expire?
77 * @param key key for the content 78 * @param key key for the content
78 * @param size number of bytes in data 79 * @param size number of bytes in data
79 * @param data content stored 80 * @param data content stored
@@ -81,6 +82,7 @@ void GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h);
81 * @return GNUNET_OK to continue iterating, GNUNET_SYSERR to abort 82 * @return GNUNET_OK to continue iterating, GNUNET_SYSERR to abort
82 */ 83 */
83typedef int (*GNUNET_DATACACHE_Iterator) (void *cls, 84typedef int (*GNUNET_DATACACHE_Iterator) (void *cls,
85 struct GNUNET_TIME_Absolute exp,
84 const GNUNET_HashCode * key, 86 const GNUNET_HashCode * key,
85 uint32_t size, 87 uint32_t size,
86 const char *data, 88 const char *data,