static void abort_search_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { if (search != NULL) GNUNET_FS_search_stop (search); search = NULL; }
static void abort_search_task (void *cls) { if (search != NULL) GNUNET_FS_search_stop (search); search = NULL; }
static void abort_search_task (void *cls) { if (NULL != search) { GNUNET_FS_search_stop (search); search = NULL; } }
static void shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { if (sc != NULL) { GNUNET_FS_search_stop (sc); sc = NULL; } }
static void abort_sks_search_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { if (sks_search == NULL) return; GNUNET_FS_search_stop (sks_search); sks_search = NULL; if (ksk_search == NULL) { GNUNET_FS_stop (fs); if (NULL != kill_task) GNUNET_SCHEDULER_cancel (kill_task); } }
static void abort_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { fprintf (stderr, "Timeout\n"); timeout_task = NULL; if (NULL != search) { GNUNET_FS_search_stop (search); search = NULL; } if (NULL != publish) { GNUNET_FS_publish_stop (publish); publish = NULL; } err = 1; }
static void abort_error (void *cls) { fprintf (stderr, "Timeout\n"); timeout_task = NULL; if (NULL != search) { GNUNET_FS_search_stop (search); search = NULL; } if (NULL != publish) { GNUNET_FS_publish_stop (publish); publish = NULL; } err = 1; }