diff options
author | David Barksdale <amatus@amat.us> | 2017-03-12 16:12:02 -0500 |
---|---|---|
committer | David Barksdale <amatus@amat.us> | 2017-03-12 16:13:32 -0500 |
commit | ac837930d961e9001df6167c793c844dcf6f6584 (patch) | |
tree | b71578d68c9cbfab648ec26436591ebb5c50495d /src/include/gnunet_datastore_service.h | |
parent | 0fca1bd10380e74a2f427490c98027e6a251e9ff (diff) | |
download | gnunet-ac837930d961e9001df6167c793c844dcf6f6584.tar.gz gnunet-ac837930d961e9001df6167c793c844dcf6f6584.zip |
Forgot to remove decl for GNUNET_DATASTORE_update
Diffstat (limited to 'src/include/gnunet_datastore_service.h')
-rw-r--r-- | src/include/gnunet_datastore_service.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h index f594d8fa6..233598667 100644 --- a/src/include/gnunet_datastore_service.h +++ b/src/include/gnunet_datastore_service.h | |||
@@ -201,33 +201,6 @@ GNUNET_DATASTORE_release_reserve (struct GNUNET_DATASTORE_Handle *h, | |||
201 | 201 | ||
202 | 202 | ||
203 | /** | 203 | /** |
204 | * Update a value in the datastore. | ||
205 | * | ||
206 | * @param h handle to the datastore | ||
207 | * @param uid identifier for the value | ||
208 | * @param priority how much to increase the priority of the value | ||
209 | * @param expiration new expiration value should be MAX of existing and this argument | ||
210 | * @param queue_priority ranking of this request in the priority queue | ||
211 | * @param max_queue_size at what queue size should this request be dropped | ||
212 | * (if other requests of higher priority are in the queue) | ||
213 | * @param cont continuation to call when done | ||
214 | * @param cont_cls closure for @a cont | ||
215 | * @return NULL if the entry was not queued, otherwise a handle that can be used to | ||
216 | * cancel; note that even if NULL is returned, the callback will be invoked | ||
217 | * (or rather, will already have been invoked) | ||
218 | */ | ||
219 | struct GNUNET_DATASTORE_QueueEntry * | ||
220 | GNUNET_DATASTORE_update (struct GNUNET_DATASTORE_Handle *h, | ||
221 | uint64_t uid, | ||
222 | uint32_t priority, | ||
223 | struct GNUNET_TIME_Absolute expiration, | ||
224 | unsigned int queue_priority, | ||
225 | unsigned int max_queue_size, | ||
226 | GNUNET_DATASTORE_ContinuationWithStatus cont, | ||
227 | void *cont_cls); | ||
228 | |||
229 | |||
230 | /** | ||
231 | * Explicitly remove some content from the database. @a cont will be | 204 | * Explicitly remove some content from the database. @a cont will be |
232 | * called with status #GNUNET_OK if content was removed, #GNUNET_NO if | 205 | * called with status #GNUNET_OK if content was removed, #GNUNET_NO if |
233 | * no matching entry was found and #GNUNET_SYSERR on all other types | 206 | * no matching entry was found and #GNUNET_SYSERR on all other types |