static void
-end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+end (void *cls)
{
GNUNET_SCHEDULER_cancel (die_task);
die_task = NULL;
* Signature of the main function of a task.
*
* @param cls closure
- * @param tc context information (why was this task triggered now)
*/
static void
-test_get_stop (void *cls,
- const struct GNUNET_SCHEDULER_TaskContext *tc)
+test_get_stop (void *cls)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Called test_get_stop!\n");
GNUNET_DHT_put (dht_handle, &hash, 1, GNUNET_DHT_RO_NONE,
GNUNET_BLOCK_TYPE_TEST, data_size, data,
GNUNET_TIME_relative_to_absolute (TOTAL_TIMEOUT),
- TOTAL_TIMEOUT, &test_get, NULL);
+ &test_get, NULL);
GNUNET_free (data);
}