diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-19 13:54:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-19 13:54:35 +0000 |
commit | bf2d1ccefd7b5bd13295733a36bf19afba46f4b2 (patch) | |
tree | c440a5bcf7e328d1dd05dd3b1a5def173adb49df /src/datastore/test_datastore_api.c | |
parent | 1997d2d086b237e2688d12567933a53b2229ea26 (diff) | |
download | gnunet-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.c | 6 |
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 | ||
141 | static void | 141 | static void |
142 | check_success (void *cls, int success, const char *msg) | 142 | check_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 | ||
160 | static void | 160 | static void |
161 | get_reserved (void *cls, int success, const char *msg) | 161 | get_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 | ||
452 | static void | 452 | static void |
453 | run_tests (void *cls, int32_t success, const char *msg) | 453 | run_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 | ||