diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-06 11:44:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-06 11:44:29 +0000 |
commit | b8da6057b2c0c66931ccde9b4bba418fc5222724 (patch) | |
tree | 1e858619686d7e2d38655f9f24bdc64e3e4e8462 /src/datacache/plugin_datacache.h | |
parent | 7d2cbe5bd19ec95ada5a28a0134185ef29007b69 (diff) | |
download | gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.tar.gz gnunet-b8da6057b2c0c66931ccde9b4bba418fc5222724.zip |
use size_t
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 | /** |