aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.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.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.c')
-rw-r--r--src/datastore/test_datastore_api.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c
index d8e4b7b34..965f05687 100644
--- a/src/datastore/test_datastore_api.c
+++ b/src/datastore/test_datastore_api.c
@@ -402,6 +402,7 @@ run_continuation (void *cls,
402 get_type (crc->i), 402 get_type (crc->i),
403 get_priority (crc->i), 403 get_priority (crc->i),
404 get_anonymity (crc->i), 404 get_anonymity (crc->i),
405 0,
405 get_expiration (crc->i), 406 get_expiration (crc->i),
406 1, 1, TIMEOUT, 407 1, 1, TIMEOUT,
407 &check_success, 408 &check_success,
@@ -502,6 +503,7 @@ run_continuation (void *cls,
502 get_type (42), 503 get_type (42),
503 get_priority (42), 504 get_priority (42),
504 get_anonymity (42), 505 get_anonymity (42),
506 0,
505 get_expiration (42), 507 get_expiration (42),
506 1, 1, TIMEOUT, 508 1, 1, TIMEOUT,
507 &check_success, 509 &check_success,
@@ -517,6 +519,7 @@ run_continuation (void *cls,
517 get_type (42), 519 get_type (42),
518 get_priority (43), 520 get_priority (43),
519 get_anonymity (43), 521 get_anonymity (43),
522 0,
520 get_expiration (43), 523 get_expiration (43),
521 1, 1, TIMEOUT, 524 1, 1, TIMEOUT,
522 &check_success, 525 &check_success,
@@ -613,7 +616,7 @@ run (void *cls,
613 GNUNET_DATASTORE_put (datastore, 0, 616 GNUNET_DATASTORE_put (datastore, 0,
614 &zkey, 4, "TEST", 617 &zkey, 4, "TEST",
615 GNUNET_BLOCK_TYPE_TEST, 618 GNUNET_BLOCK_TYPE_TEST,
616 0, 0, GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_SECONDS), 619 0, 0, 0, GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_SECONDS),
617 0, 1, GNUNET_TIME_UNIT_MINUTES, 620 0, 1, GNUNET_TIME_UNIT_MINUTES,
618 &run_tests, crc)) 621 &run_tests, crc))
619 { 622 {