aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api_management.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-04-03 13:47:56 +0000
committerChristian Grothoff <christian@grothoff.org>2011-04-03 13:47:56 +0000
commit8c23a185ee8d3c16c5552668dced851f82986041 (patch)
tree83f59d2190ffadcdc5643ba36578b2c6766b0e42 /src/datastore/test_datastore_api_management.c
parent1888cd7da7ae5e2c32faf66d3bef47ac7d225b35 (diff)
downloadgnunet-8c23a185ee8d3c16c5552668dced851f82986041.tar.gz
gnunet-8c23a185ee8d3c16c5552668dced851f82986041.zip
changing datastore API to support replication level --- not fully implemented --- and adding GNUNET_FS_BlockOptions struct to replace prio/anonymity/expiration+replication args
Diffstat (limited to 'src/datastore/test_datastore_api_management.c')
-rw-r--r--src/datastore/test_datastore_api_management.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datastore/test_datastore_api_management.c b/src/datastore/test_datastore_api_management.c
index 2873caa02..50a426af6 100644
--- a/src/datastore/test_datastore_api_management.c
+++ b/src/datastore/test_datastore_api_management.c
@@ -231,6 +231,7 @@ run_continuation (void *cls,
231 get_type (crc->i), 231 get_type (crc->i),
232 get_priority (crc->i), 232 get_priority (crc->i),
233 get_anonymity (crc->i), 233 get_anonymity (crc->i),
234 0,
234 get_expiration (crc->i), 235 get_expiration (crc->i),
235 1, 1, TIMEOUT, 236 1, 1, TIMEOUT,
236 &check_success, 237 &check_success,
@@ -327,7 +328,7 @@ run (void *cls,
327 GNUNET_DATASTORE_put (datastore, 0, 328 GNUNET_DATASTORE_put (datastore, 0,
328 &zkey, 4, "TEST", 329 &zkey, 4, "TEST",
329 GNUNET_BLOCK_TYPE_TEST, 330 GNUNET_BLOCK_TYPE_TEST,
330 0, 0, GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_SECONDS), 331 0, 0, 0, GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_SECONDS),
331 0, 1, GNUNET_TIME_UNIT_MINUTES, 332 0, 1, GNUNET_TIME_UNIT_MINUTES,
332 &run_tests, crc)) 333 &run_tests, crc))
333 { 334 {