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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_datacache_plugin.h b/src/include/gnunet_datacache_plugin.h
index fbfcdf1e8..18268efd7 100644
--- a/src/include/gnunet_datacache_plugin.h
+++ b/src/include/gnunet_datacache_plugin.h
@@ -46,7 +46,7 @@ extern "C"
46 * @param size number of bytes that were made available 46 * @param size number of bytes that were made available
47 */ 47 */
48typedef void (*GNUNET_DATACACHE_DeleteNotifyCallback) (void *cls, 48typedef void (*GNUNET_DATACACHE_DeleteNotifyCallback) (void *cls,
49 const GNUNET_HashCode * 49 const struct GNUNET_HashCode *
50 key, size_t size); 50 key, size_t size);
51 51
52 52
@@ -109,7 +109,7 @@ 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, const GNUNET_HashCode * key, size_t size, 112 size_t (*put) (void *cls, const struct GNUNET_HashCode * key, size_t size,
113 const char *data, enum GNUNET_BLOCK_Type type, 113 const char *data, enum GNUNET_BLOCK_Type type,
114 struct GNUNET_TIME_Absolute discard_time); 114 struct GNUNET_TIME_Absolute discard_time);
115 115
@@ -125,7 +125,7 @@ struct GNUNET_DATACACHE_PluginFunctions
125 * @param iter_cls closure for iter 125 * @param iter_cls closure for iter
126 * @return the number of results found 126 * @return the number of results found
127 */ 127 */
128 unsigned int (*get) (void *cls, const GNUNET_HashCode * key, 128 unsigned int (*get) (void *cls, const struct GNUNET_HashCode * key,
129 enum GNUNET_BLOCK_Type type, 129 enum GNUNET_BLOCK_Type type,
130 GNUNET_DATACACHE_Iterator iter, void *iter_cls); 130 GNUNET_DATACACHE_Iterator iter, void *iter_cls);
131 131