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/datastore.h | |
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/datastore.h')
-rw-r--r-- | src/datastore/datastore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/datastore/datastore.h b/src/datastore/datastore.h index fa8352d24..563b7486c 100644 --- a/src/datastore/datastore.h +++ b/src/datastore/datastore.h | |||
@@ -72,6 +72,12 @@ struct StatusMessage | |||
72 | */ | 72 | */ |
73 | int32_t status GNUNET_PACKED; | 73 | int32_t status GNUNET_PACKED; |
74 | 74 | ||
75 | /** | ||
76 | * Minimum expiration time required for content to be stored | ||
77 | * by the datacache at this time, zero for unknown or no limit. | ||
78 | */ | ||
79 | struct GNUNET_TIME_AbsoluteNBO min_expiration; | ||
80 | |||
75 | }; | 81 | }; |
76 | 82 | ||
77 | 83 | ||