diff options
Diffstat (limited to 'src/datacache/plugin_datacache.h')
-rw-r--r-- | src/datacache/plugin_datacache.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/datacache/plugin_datacache.h b/src/datacache/plugin_datacache.h index c7360834b..bf35b2619 100644 --- a/src/datacache/plugin_datacache.h +++ b/src/datacache/plugin_datacache.h | |||
@@ -47,7 +47,7 @@ extern "C" | |||
47 | */ | 47 | */ |
48 | typedef void (*GNUNET_DATACACHE_DeleteNotifyCallback)(void *cls, | 48 | typedef void (*GNUNET_DATACACHE_DeleteNotifyCallback)(void *cls, |
49 | const GNUNET_HashCode *key, | 49 | const GNUNET_HashCode *key, |
50 | uint32_t size); | 50 | size_t size); |
51 | 51 | ||
52 | 52 | ||
53 | /** | 53 | /** |
@@ -112,12 +112,12 @@ struct GNUNET_DATACACHE_PluginFunctions { | |||
112 | * @param discard_time when to discard the value in any case | 112 | * @param discard_time when to discard the value in any case |
113 | * @return 0 on error, number of bytes used otherwise | 113 | * @return 0 on error, number of bytes used otherwise |
114 | */ | 114 | */ |
115 | uint32_t (*put) (void *cls, | 115 | size_t (*put) (void *cls, |
116 | const GNUNET_HashCode * key, | 116 | const GNUNET_HashCode * key, |
117 | uint32_t size, | 117 | size_t size, |
118 | const char *data, | 118 | const char *data, |
119 | enum GNUNET_BLOCK_Type type, | 119 | enum GNUNET_BLOCK_Type type, |
120 | struct GNUNET_TIME_Absolute discard_time); | 120 | struct GNUNET_TIME_Absolute discard_time); |
121 | 121 | ||
122 | 122 | ||
123 | /** | 123 | /** |