diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2009-07-18 21:38:14 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2009-07-18 21:38:14 +0000 |
commit | 0ee63dccfeba5712ce99dca55cd746087380ba77 (patch) | |
tree | 789bf45f4ea9d5bd560bd76330f42dc0259b6b04 /src/datastore/test_datastore_api.c | |
parent | fd4070882afc35d27493a03e37204a131b2a3411 (diff) |
work on datastore API implementation
git-svn-id: https://gnunet.org/svn/gnunet@8747 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r-- | src/datastore/test_datastore_api.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c index 28fc12ef68..afc36b7089 100644 --- a/src/datastore/test_datastore_api.c +++ b/src/datastore/test_datastore_api.c @@ -201,14 +201,16 @@ delete_value (void *cls, size, data, &check_success, - NULL); + NULL, + TIMEOUT); ((int*)key)[0]++; GNUNET_DATASTORE_remove (datastore, key, size, data, &check_failure, - NULL); + NULL, + TIMEOUT); GNUNET_SCHEDULER_add_continuation (crc->sched, GNUNET_NO, &run_continuation, @@ -272,7 +274,8 @@ run_continuation (void *cls, &crc->key, get_type (crc->i), &check_value, - crc); + crc, + TIMEOUT); if (crc->i == 0) { crc->phase = RP_DEL; @@ -286,7 +289,8 @@ run_continuation (void *cls, &crc->key, get_type (crc->i), &delete_value, - crc); + crc, + TIMEOUT); if (crc->i == 0) { crc->phase = RP_DELVALIDATE; @@ -300,7 +304,8 @@ run_continuation (void *cls, &crc->key, get_type (crc->i), &check_nothing, - crc); + crc, + TIMEOUT); if (crc->i == 0) { crc->phase = RP_DONE; |