aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/datastore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/datastore_api.c')
-rw-r--r--src/datastore/datastore_api.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index cca67f6bc..832829e24 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -278,11 +278,9 @@ GNUNET_DATASTORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg)
278 * Task used by 'transmit_drop' to disconnect the datastore. 278 * Task used by 'transmit_drop' to disconnect the datastore.
279 * 279 *
280 * @param cls the datastore handle 280 * @param cls the datastore handle
281 * @param tc scheduler context
282 */ 281 */
283static void 282static void
284disconnect_after_drop (void *cls, 283disconnect_after_drop (void *cls)
285 const struct GNUNET_SCHEDULER_TaskContext *tc)
286{ 284{
287 struct GNUNET_DATASTORE_Handle *h = cls; 285 struct GNUNET_DATASTORE_Handle *h = cls;
288 286
@@ -383,10 +381,9 @@ GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h,
383 * A request has timed out (before being transmitted to the service). 381 * A request has timed out (before being transmitted to the service).
384 * 382 *
385 * @param cls the `struct GNUNET_DATASTORE_QueueEntry` 383 * @param cls the `struct GNUNET_DATASTORE_QueueEntry`
386 * @param tc scheduler context
387 */ 384 */
388static void 385static void
389timeout_queue_entry (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 386timeout_queue_entry (void *cls)
390{ 387{
391 struct GNUNET_DATASTORE_QueueEntry *qe = cls; 388 struct GNUNET_DATASTORE_QueueEntry *qe = cls;
392 struct GNUNET_DATASTORE_Handle *h = qe->h; 389 struct GNUNET_DATASTORE_Handle *h = qe->h;
@@ -520,10 +517,9 @@ process_queue (struct GNUNET_DATASTORE_Handle *h);
520 * Try reconnecting to the datastore service. 517 * Try reconnecting to the datastore service.
521 * 518 *
522 * @param cls the `struct GNUNET_DATASTORE_Handle` 519 * @param cls the `struct GNUNET_DATASTORE_Handle`
523 * @param tc scheduler context
524 */ 520 */
525static void 521static void
526try_reconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 522try_reconnect (void *cls)
527{ 523{
528 struct GNUNET_DATASTORE_Handle *h = cls; 524 struct GNUNET_DATASTORE_Handle *h = cls;
529 525