diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-12 19:07:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-12 19:07:40 +0000 |
commit | 6c471eeb15e27f8226492b4860a3c2acb94c5f25 (patch) | |
tree | a3a9dcba12ee5356c03056c10b7aba5367b2ef34 /src/include/gnunet_datacache_plugin.h | |
parent | 16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff) | |
download | gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip |
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/include/gnunet_datacache_plugin.h')
-rw-r--r-- | src/include/gnunet_datacache_plugin.h | 6 |
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 | */ |
48 | typedef void (*GNUNET_DATACACHE_DeleteNotifyCallback) (void *cls, | 48 | typedef 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 | ||