aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_indexing.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-01-29 19:21:41 +0000
committerChristian Grothoff <christian@grothoff.org>2010-01-29 19:21:41 +0000
commit258bd33b0a8e26200d8bf36d8e65524a1069790d (patch)
treeb45169bffadac84468c33d1fd696ff81ee84a3b3 /src/fs/gnunet-service-fs_indexing.h
parent65f29cbee10775c4ec627f01c115d1bebea88642 (diff)
downloadgnunet-258bd33b0a8e26200d8bf36d8e65524a1069790d.tar.gz
gnunet-258bd33b0a8e26200d8bf36d8e65524a1069790d.zip
finally compiles again
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.h')
-rw-r--r--src/fs/gnunet-service-fs_indexing.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.h b/src/fs/gnunet-service-fs_indexing.h
index dc6427234..9749b42a0 100644
--- a/src/fs/gnunet-service-fs_indexing.h
+++ b/src/fs/gnunet-service-fs_indexing.h
@@ -49,11 +49,11 @@
49 * @param expiration expiration time for the content 49 * @param expiration expiration time for the content
50 * @param uid unique identifier for the datum; 50 * @param uid unique identifier for the datum;
51 * maybe 0 if no unique identifier is available 51 * maybe 0 if no unique identifier is available
52 * @param dsh connection to the datastore (to ask for more) 52 * @param cont function to call with the actual block (at most once, on success)
53 * @param cont function to call with the actual block
54 * @param cont_cls closure for cont 53 * @param cont_cls closure for cont
54 * @return GNUNET_OK on success
55 */ 55 */
56void 56int
57GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, 57GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key,
58 uint32_t size, 58 uint32_t size,
59 const void *data, 59 const void *data,
@@ -62,7 +62,6 @@ GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key,
62 uint32_t anonymity, 62 uint32_t anonymity,
63 struct GNUNET_TIME_Absolute 63 struct GNUNET_TIME_Absolute
64 expiration, uint64_t uid, 64 expiration, uint64_t uid,
65 struct GNUNET_DATASTORE_Handle *dsh,
66 GNUNET_DATASTORE_Iterator cont, 65 GNUNET_DATASTORE_Iterator cont,
67 void *cont_cls); 66 void *cont_cls);
68 67
@@ -112,9 +111,10 @@ GNUNET_FS_handle_unindex (void *cls,
112 * 111 *
113 * @param s scheduler to use 112 * @param s scheduler to use
114 * @param c configuration to use 113 * @param c configuration to use
114 * @return GNUNET_OK on success
115 */ 115 */
116void 116int
117GNUNET_FS_init_indexing (struct GNUNET_SCHEDULER_Handle *s, 117GNUNET_FS_indexing_init (struct GNUNET_SCHEDULER_Handle *s,
118 const struct GNUNET_CONFIGURATION_Handle *c); 118 const struct GNUNET_CONFIGURATION_Handle *c);
119 119
120 120