diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-07-25 23:13:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-07-25 23:13:12 +0000 |
commit | 5f3bd6f08ff9777a966d82d0b26f421b843760ee (patch) | |
tree | 0ae6c778fe13947953a89ce47407aeac65143d19 /src/include/gnunet_datacache_lib.h | |
parent | 6ec2c6dc89a62810fe44696d7faaad9d837105cd (diff) | |
download | gnunet-5f3bd6f08ff9777a966d82d0b26f421b843760ee.tar.gz gnunet-5f3bd6f08ff9777a966d82d0b26f421b843760ee.zip |
done
Diffstat (limited to 'src/include/gnunet_datacache_lib.h')
-rw-r--r-- | src/include/gnunet_datacache_lib.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/gnunet_datacache_lib.h b/src/include/gnunet_datacache_lib.h index 1ee8eb8e2..c913a6462 100644 --- a/src/include/gnunet_datacache_lib.h +++ b/src/include/gnunet_datacache_lib.h | |||
@@ -78,12 +78,13 @@ void GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h); | |||
78 | * @param size number of bytes in data | 78 | * @param size number of bytes in data |
79 | * @param data content stored | 79 | * @param data content stored |
80 | * @param type type of the content | 80 | * @param type type of the content |
81 | * @return GNUNET_OK to continue iterating, GNUNET_SYSERR to abort | ||
81 | */ | 82 | */ |
82 | typedef void (*GNUNET_DATACACHE_Iterator) (void *cls, | 83 | typedef int (*GNUNET_DATACACHE_Iterator) (void *cls, |
83 | const GNUNET_HashCode * key, | 84 | const GNUNET_HashCode * key, |
84 | uint32_t size, | 85 | uint32_t size, |
85 | const char *data, | 86 | const char *data, |
86 | uint32_t type); | 87 | uint32_t type); |
87 | 88 | ||
88 | 89 | ||
89 | /** | 90 | /** |