aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_put.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-04-03 20:00:42 +0000
committerChristian Grothoff <christian@grothoff.org>2011-04-03 20:00:42 +0000
commite8f35bb025c25839a52fb502e452393831e4e6f0 (patch)
tree7a056253bddc61b1e6a3258567e176af128c2b67 /src/fs/gnunet-service-fs_put.c
parent9f871785d57da57ba128ac2279fda1db1d9b8bfb (diff)
downloadgnunet-e8f35bb025c25839a52fb502e452393831e4e6f0.tar.gz
gnunet-e8f35bb025c25839a52fb502e452393831e4e6f0.zip
improving datastore API --- not working yet
Diffstat (limited to 'src/fs/gnunet-service-fs_put.c')
-rw-r--r--src/fs/gnunet-service-fs_put.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/gnunet-service-fs_put.c b/src/fs/gnunet-service-fs_put.c
index 5fd2ce81c..121a90bcd 100644
--- a/src/fs/gnunet-service-fs_put.c
+++ b/src/fs/gnunet-service-fs_put.c
@@ -109,7 +109,7 @@ static void
109dht_put_continuation (void *cls, 109dht_put_continuation (void *cls,
110 const struct GNUNET_SCHEDULER_TaskContext *tc) 110 const struct GNUNET_SCHEDULER_TaskContext *tc)
111{ 111{
112 GNUNET_DATASTORE_get_next (GSF_dsh); 112 GNUNET_DATASTORE_iterate_get_next (GSF_dsh);
113} 113}
114 114
115 115
@@ -198,11 +198,11 @@ gather_dht_put_blocks (void *cls,
198 return; 198 return;
199 if (dht_put_type == GNUNET_BLOCK_TYPE_FS_ONDEMAND) 199 if (dht_put_type == GNUNET_BLOCK_TYPE_FS_ONDEMAND)
200 dht_put_type = GNUNET_BLOCK_TYPE_FS_KBLOCK; 200 dht_put_type = GNUNET_BLOCK_TYPE_FS_KBLOCK;
201 dht_qe = GNUNET_DATASTORE_get_zero_anonymity (GSF_dsh, 201 dht_qe = GNUNET_DATASTORE_iterate_zero_anonymity (GSF_dsh,
202 0, UINT_MAX, 202 0, UINT_MAX,
203 GNUNET_TIME_UNIT_FOREVER_REL, 203 GNUNET_TIME_UNIT_FOREVER_REL,
204 dht_put_type++, 204 dht_put_type++,
205 &process_dht_put_content, NULL); 205 &process_dht_put_content, NULL);
206 GNUNET_assert (dht_qe != NULL); 206 GNUNET_assert (dht_qe != NULL);
207} 207}
208 208