aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datacache_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_datacache_plugin.h')
-rw-r--r--src/include/gnunet_datacache_plugin.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/include/gnunet_datacache_plugin.h b/src/include/gnunet_datacache_plugin.h
index c7ce0bef1..6868d6b76 100644
--- a/src/include/gnunet_datacache_plugin.h
+++ b/src/include/gnunet_datacache_plugin.h
@@ -109,11 +109,8 @@ struct GNUNET_DATACACHE_PluginFunctions
109 * @param discard_time when to discard the value in any case 109 * @param discard_time when to discard the value in any case
110 * @return 0 on error, number of bytes used otherwise 110 * @return 0 on error, number of bytes used otherwise
111 */ 111 */
112 size_t (*put) (void *cls, 112 size_t (*put) (void *cls, const GNUNET_HashCode * key, size_t size,
113 const GNUNET_HashCode * key, 113 const char *data, enum GNUNET_BLOCK_Type type,
114 size_t size,
115 const char *data,
116 enum GNUNET_BLOCK_Type type,
117 struct GNUNET_TIME_Absolute discard_time); 114 struct GNUNET_TIME_Absolute discard_time);
118 115
119 116
@@ -128,8 +125,7 @@ struct GNUNET_DATACACHE_PluginFunctions
128 * @param iter_cls closure for iter 125 * @param iter_cls closure for iter
129 * @return the number of results found 126 * @return the number of results found
130 */ 127 */
131 unsigned int (*get) (void *cls, 128 unsigned int (*get) (void *cls, const GNUNET_HashCode * key,
132 const GNUNET_HashCode * key,
133 enum GNUNET_BLOCK_Type type, 129 enum GNUNET_BLOCK_Type type,
134 GNUNET_DATACACHE_Iterator iter, void *iter_cls); 130 GNUNET_DATACACHE_Iterator iter, void *iter_cls);
135 131