aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-09-11 14:21:00 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-09-11 14:21:00 +0000
commit33a7054abe3e57db3ce598d0d4d37995302ae4e1 (patch)
treee2706394d267f7f4ed7d925c5d9461e2657bca1d /src/datastore/test_datastore_api.c
parent14dd70406e2c29ad47f37e927075c68a88b96090 (diff)
better datastore API
git-svn-id: https://gnunet.org/svn/gnunet@8982 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r--src/datastore/test_datastore_api.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c
index e8e303436d..a63f0425f8 100644
--- a/src/datastore/test_datastore_api.c
+++ b/src/datastore/test_datastore_api.c
@@ -207,6 +207,7 @@ check_value (void *cls,
GNUNET_assert (priority == get_priority (i));
GNUNET_assert (anonymity == get_anonymity(i));
GNUNET_assert (expiration.value == get_expiration(i).value);
+ GNUNET_DATASTORE_get_next (datastore, GNUNET_YES);
}
@@ -237,6 +238,7 @@ delete_value (void *cls,
crc->key = *key;
crc->data = GNUNET_malloc (size);
memcpy (crc->data, data, size);
+ GNUNET_DATASTORE_get_next (datastore, GNUNET_YES);
}
@@ -292,6 +294,7 @@ check_multiple (void *cls,
crc->phase++;
if (priority == get_priority (42))
crc->uid = uid;
+ GNUNET_DATASTORE_get_next (datastore, GNUNET_YES);
}
@@ -327,6 +330,7 @@ check_update (void *cls,
}
else
GNUNET_assert (size == get_size (43));
+ GNUNET_DATASTORE_get_next (datastore, GNUNET_YES);
}