aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/datacache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datacache/datacache.c')
-rw-r--r--src/datacache/datacache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datacache/datacache.c b/src/datacache/datacache.c
index b440af1b2..9087ae0dd 100644
--- a/src/datacache/datacache.c
+++ b/src/datacache/datacache.c
@@ -103,7 +103,7 @@ struct GNUNET_DATACACHE_Handle
103 * @param size number of bytes that were made available 103 * @param size number of bytes that were made available
104 */ 104 */
105static void 105static void
106env_delete_notify (void *cls, const GNUNET_HashCode * key, size_t size) 106env_delete_notify (void *cls, const struct GNUNET_HashCode * key, size_t size)
107{ 107{
108 struct GNUNET_DATACACHE_Handle *h = cls; 108 struct GNUNET_DATACACHE_Handle *h = cls;
109 109
@@ -233,7 +233,7 @@ GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h)
233 */ 233 */
234int 234int
235GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, 235GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
236 const GNUNET_HashCode * key, size_t size, 236 const struct GNUNET_HashCode * key, size_t size,
237 const char *data, enum GNUNET_BLOCK_Type type, 237 const char *data, enum GNUNET_BLOCK_Type type,
238 struct GNUNET_TIME_Absolute discard_time) 238 struct GNUNET_TIME_Absolute discard_time)
239{ 239{
@@ -270,7 +270,7 @@ GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
270 */ 270 */
271unsigned int 271unsigned int
272GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h, 272GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h,
273 const GNUNET_HashCode * key, enum GNUNET_BLOCK_Type type, 273 const struct GNUNET_HashCode * key, enum GNUNET_BLOCK_Type type,
274 GNUNET_DATACACHE_Iterator iter, void *iter_cls) 274 GNUNET_DATACACHE_Iterator iter, void *iter_cls)
275{ 275{
276 GNUNET_STATISTICS_update (h->stats, gettext_noop ("# requests received"), 1, 276 GNUNET_STATISTICS_update (h->stats, gettext_noop ("# requests received"), 1,