aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datacache_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
commit6c471eeb15e27f8226492b4860a3c2acb94c5f25 (patch)
treea3a9dcba12ee5356c03056c10b7aba5367b2ef34 /src/include/gnunet_datacache_lib.h
parent16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff)
downloadgnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz
gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/include/gnunet_datacache_lib.h')
-rw-r--r--src/include/gnunet_datacache_lib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_datacache_lib.h b/src/include/gnunet_datacache_lib.h
index 84cb4d600..071b304be 100644
--- a/src/include/gnunet_datacache_lib.h
+++ b/src/include/gnunet_datacache_lib.h
@@ -83,7 +83,7 @@ GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h);
83 */ 83 */
84typedef int (*GNUNET_DATACACHE_Iterator) (void *cls, 84typedef int (*GNUNET_DATACACHE_Iterator) (void *cls,
85 struct GNUNET_TIME_Absolute exp, 85 struct GNUNET_TIME_Absolute exp,
86 const GNUNET_HashCode * key, 86 const struct GNUNET_HashCode * key,
87 size_t size, const char *data, 87 size_t size, const char *data,
88 enum GNUNET_BLOCK_Type type); 88 enum GNUNET_BLOCK_Type type);
89 89
@@ -101,7 +101,7 @@ typedef int (*GNUNET_DATACACHE_Iterator) (void *cls,
101 */ 101 */
102int 102int
103GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, 103GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
104 const GNUNET_HashCode * key, size_t size, 104 const struct GNUNET_HashCode * key, size_t size,
105 const char *data, enum GNUNET_BLOCK_Type type, 105 const char *data, enum GNUNET_BLOCK_Type type,
106 struct GNUNET_TIME_Absolute discard_time); 106 struct GNUNET_TIME_Absolute discard_time);
107 107
@@ -119,7 +119,7 @@ GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
119 */ 119 */
120unsigned int 120unsigned int
121GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h, 121GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h,
122 const GNUNET_HashCode * key, enum GNUNET_BLOCK_Type type, 122 const struct GNUNET_HashCode * key, enum GNUNET_BLOCK_Type type,
123 GNUNET_DATACACHE_Iterator iter, void *iter_cls); 123 GNUNET_DATACACHE_Iterator iter, void *iter_cls);
124 124
125 125