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) |
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 3bd76df328..e0866416d6 100644 --- a/src/include/gnunet_datacache_lib.h +++ b/src/include/gnunet_datacache_lib.h @@ -32,6 +32,7 @@ #define GNUNET_DATACACHE_LIB_H #include "gnunet_util_lib.h" +#include "gnunet_block_lib.h" #ifdef __cplusplus extern "C" @@ -86,7 +87,7 @@ typedef int (*GNUNET_DATACACHE_Iterator) (void *cls, const GNUNET_HashCode * key, uint32_t size, const char *data, - uint32_t type); + enum GNUNET_BLOCK_Type type); /** @@ -105,7 +106,7 @@ GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, const GNUNET_HashCode * key, uint32_t size, const char *data, - unsigned int type, + enum GNUNET_BLOCK_Type type, struct GNUNET_TIME_Absolute discard_time); @@ -123,7 +124,7 @@ GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, unsigned int GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h, const GNUNET_HashCode * key, - unsigned int type, + enum GNUNET_BLOCK_Type type, GNUNET_DATACACHE_Iterator iter, void *iter_cls); |