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/fs/fs_unindex.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/fs/fs_unindex.c')
-rw-r--r-- | src/fs/fs_unindex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index 79b7e8c73..fa9147bcd 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c | |||
@@ -144,10 +144,11 @@ signal_unindex_error (struct GNUNET_FS_UnindexContext *uc) | |||
144 | * | 144 | * |
145 | * @param cls closure | 145 | * @param cls closure |
146 | * @param success GNUNET_SYSERR on failure | 146 | * @param success GNUNET_SYSERR on failure |
147 | * @param min_expiration minimum expiration time required for content to be stored | ||
147 | * @param msg NULL on success, otherwise an error message | 148 | * @param msg NULL on success, otherwise an error message |
148 | */ | 149 | */ |
149 | static void | 150 | static void |
150 | process_cont (void *cls, int success, const char *msg) | 151 | process_cont (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration, const char *msg) |
151 | { | 152 | { |
152 | struct GNUNET_FS_UnindexContext *uc = cls; | 153 | struct GNUNET_FS_UnindexContext *uc = cls; |
153 | 154 | ||