aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datastore_service.h
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/include/gnunet_datastore_service.h
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/include/gnunet_datastore_service.h')
-rw-r--r--src/include/gnunet_datastore_service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h
index 03ec9117c..db680eaf3 100644
--- a/src/include/gnunet_datastore_service.h
+++ b/src/include/gnunet_datastore_service.h
@@ -86,10 +86,13 @@ GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h, int drop);
86 * @param success GNUNET_SYSERR on failure (including timeout/queue drop) 86 * @param success GNUNET_SYSERR on failure (including timeout/queue drop)
87 * GNUNET_NO if content was already there 87 * GNUNET_NO if content was already there
88 * GNUNET_YES (or other positive value) on success 88 * GNUNET_YES (or other positive value) on success
89 * @param min_expiration minimum expiration time required for content to be stored
90 * by the datacache at this time, zero for unknown
89 * @param msg NULL on success, otherwise an error message 91 * @param msg NULL on success, otherwise an error message
90 */ 92 */
91typedef void (*GNUNET_DATASTORE_ContinuationWithStatus) (void *cls, 93typedef void (*GNUNET_DATASTORE_ContinuationWithStatus) (void *cls,
92 int32_t success, 94 int32_t success,
95 struct GNUNET_TIME_Absolute min_expiration,
93 const char *msg); 96 const char *msg);
94 97
95 98