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/datacache/plugin_datacache_template.c | |
parent | 16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff) | |
download | gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip |
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/datacache/plugin_datacache_template.c')
-rw-r--r-- | src/datacache/plugin_datacache_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_template.c b/src/datacache/plugin_datacache_template.c index 2d3f160e4..6c4395982 100644 --- a/src/datacache/plugin_datacache_template.c +++ b/src/datacache/plugin_datacache_template.c | |||
@@ -52,7 +52,7 @@ struct Plugin | |||
52 | * @return 0 on error, number of bytes used otherwise | 52 | * @return 0 on error, number of bytes used otherwise |
53 | */ | 53 | */ |
54 | static size_t | 54 | static size_t |
55 | template_plugin_put (void *cls, const GNUNET_HashCode * key, size_t size, | 55 | template_plugin_put (void *cls, const struct GNUNET_HashCode * key, size_t size, |
56 | const char *data, enum GNUNET_BLOCK_Type type, | 56 | const char *data, enum GNUNET_BLOCK_Type type, |
57 | struct GNUNET_TIME_Absolute discard_time) | 57 | struct GNUNET_TIME_Absolute discard_time) |
58 | { | 58 | { |
@@ -73,7 +73,7 @@ template_plugin_put (void *cls, const GNUNET_HashCode * key, size_t size, | |||
73 | * @return the number of results found | 73 | * @return the number of results found |
74 | */ | 74 | */ |
75 | static unsigned int | 75 | static unsigned int |
76 | template_plugin_get (void *cls, const GNUNET_HashCode * key, | 76 | template_plugin_get (void *cls, const struct GNUNET_HashCode * key, |
77 | enum GNUNET_BLOCK_Type type, | 77 | enum GNUNET_BLOCK_Type type, |
78 | GNUNET_DATACACHE_Iterator iter, void *iter_cls) | 78 | GNUNET_DATACACHE_Iterator iter, void *iter_cls) |
79 | { | 79 | { |