/*
This file is part of GNUnet.
- (C) 2012, 2013 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2012, 2013 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
*/
/**
* Task run to asynchronously terminate the cadet due to timeout.
*
* @param cls the 'struct CadetClient'
- * @param tc scheduler context
*/
static void
-timeout_cadet_task (void *cls,
- const struct GNUNET_SCHEDULER_TaskContext *tc)
+timeout_cadet_task (void *cls)
{
struct CadetClient *sc = cls;
struct GNUNET_CADET_Channel *tun;
static void
handle_datastore_reply (void *cls,
const struct GNUNET_HashCode *key,
- size_t size,
+ size_t size,
const void *data,
enum GNUNET_BLOCK_Type type,
uint32_t priority,
ntohl (sqm->type),
0 /* priority */,
GSF_datastore_queue_size,
- GNUNET_TIME_UNIT_FOREVER_REL,
&handle_datastore_reply, sc);
if (NULL == sc->qe)
{