aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-19 13:54:35 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-19 13:54:35 +0000
commitbf2d1ccefd7b5bd13295733a36bf19afba46f4b2 (patch)
treec440a5bcf7e328d1dd05dd3b1a5def173adb49df /src/datastore/test_datastore_api.c
parent1997d2d086b237e2688d12567933a53b2229ea26 (diff)
downloadgnunet-bf2d1ccefd7b5bd13295733a36bf19afba46f4b2.tar.gz
gnunet-bf2d1ccefd7b5bd13295733a36bf19afba46f4b2.zip
adding min_expiration argument to GNUNET_DATASTORE_ContinuationWithStatus callback to communicate which content has a chance of being stored in the medium term
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r--src/datastore/test_datastore_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c
index 0309a6592..942e0a11e 100644
--- a/src/datastore/test_datastore_api.c
+++ b/src/datastore/test_datastore_api.c
@@ -139,7 +139,7 @@ run_continuation (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
139 139
140 140
141static void 141static void
142check_success (void *cls, int success, const char *msg) 142check_success (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration, const char *msg)
143{ 143{
144 struct CpsRunContext *crc = cls; 144 struct CpsRunContext *crc = cls;
145 145
@@ -158,7 +158,7 @@ check_success (void *cls, int success, const char *msg)
158 158
159 159
160static void 160static void
161get_reserved (void *cls, int success, const char *msg) 161get_reserved (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration, const char *msg)
162{ 162{
163 struct CpsRunContext *crc = cls; 163 struct CpsRunContext *crc = cls;
164 164
@@ -450,7 +450,7 @@ run_continuation (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
450 450
451 451
452static void 452static void
453run_tests (void *cls, int32_t success, const char *msg) 453run_tests (void *cls, int32_t success, struct GNUNET_TIME_Absolute min_expiration, const char *msg)
454{ 454{
455 struct CpsRunContext *crc = cls; 455 struct CpsRunContext *crc = cls;
456 456