diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-24 13:08:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-24 13:08:05 +0000 |
commit | 32892c4aa7736eb8039f28d79b5cdb53cdc0061c (patch) | |
tree | 9729d165562c1780934a9a979dbc06d7f8470592 /src/include/gnunet_datacache_lib.h | |
parent | bf6e480c1dda383bd55b311039d8d41189c5feea (diff) | |
download | gnunet-32892c4aa7736eb8039f28d79b5cdb53cdc0061c.tar.gz gnunet-32892c4aa7736eb8039f28d79b5cdb53cdc0061c.zip |
off-line hack fest
Diffstat (limited to 'src/include/gnunet_datacache_lib.h')
-rw-r--r-- | src/include/gnunet_datacache_lib.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/gnunet_datacache_lib.h b/src/include/gnunet_datacache_lib.h index 3bd76df32..e0866416d 100644 --- a/src/include/gnunet_datacache_lib.h +++ b/src/include/gnunet_datacache_lib.h | |||
@@ -32,6 +32,7 @@ | |||
32 | #define GNUNET_DATACACHE_LIB_H | 32 | #define GNUNET_DATACACHE_LIB_H |
33 | 33 | ||
34 | #include "gnunet_util_lib.h" | 34 | #include "gnunet_util_lib.h" |
35 | #include "gnunet_block_lib.h" | ||
35 | 36 | ||
36 | #ifdef __cplusplus | 37 | #ifdef __cplusplus |
37 | extern "C" | 38 | extern "C" |
@@ -86,7 +87,7 @@ typedef int (*GNUNET_DATACACHE_Iterator) (void *cls, | |||
86 | const GNUNET_HashCode * key, | 87 | const GNUNET_HashCode * key, |
87 | uint32_t size, | 88 | uint32_t size, |
88 | const char *data, | 89 | const char *data, |
89 | uint32_t type); | 90 | enum GNUNET_BLOCK_Type type); |
90 | 91 | ||
91 | 92 | ||
92 | /** | 93 | /** |
@@ -105,7 +106,7 @@ GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, | |||
105 | const GNUNET_HashCode * key, | 106 | const GNUNET_HashCode * key, |
106 | uint32_t size, | 107 | uint32_t size, |
107 | const char *data, | 108 | const char *data, |
108 | unsigned int type, | 109 | enum GNUNET_BLOCK_Type type, |
109 | struct GNUNET_TIME_Absolute discard_time); | 110 | struct GNUNET_TIME_Absolute discard_time); |
110 | 111 | ||
111 | 112 | ||
@@ -123,7 +124,7 @@ GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, | |||
123 | unsigned int | 124 | unsigned int |
124 | GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h, | 125 | GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h, |
125 | const GNUNET_HashCode * key, | 126 | const GNUNET_HashCode * key, |
126 | unsigned int type, | 127 | enum GNUNET_BLOCK_Type type, |
127 | GNUNET_DATACACHE_Iterator iter, | 128 | GNUNET_DATACACHE_Iterator iter, |
128 | void *iter_cls); | 129 | void *iter_cls); |
129 | 130 | ||