aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed_links.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/gnunet-service-testbed_links.c')
-rw-r--r--src/testbed/gnunet-service-testbed_links.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/src/testbed/gnunet-service-testbed_links.c b/src/testbed/gnunet-service-testbed_links.c
index 9fbc3197e..a2692e8a6 100644
--- a/src/testbed/gnunet-service-testbed_links.c
+++ b/src/testbed/gnunet-service-testbed_links.c
@@ -585,10 +585,9 @@ send_controller_link_response (struct GNUNET_SERVER_Client *client,
585 * The Link Controller forwarding task 585 * The Link Controller forwarding task
586 * 586 *
587 * @param cls the LCFContext 587 * @param cls the LCFContext
588 * @param tc the Task context from scheduler
589 */ 588 */
590static void 589static void
591lcf_proc_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); 590lcf_proc_task (void *cls);
592 591
593 592
594/** 593/**
@@ -634,21 +633,18 @@ registration_error:
634 * The Link Controller forwarding task 633 * The Link Controller forwarding task
635 * 634 *
636 * @param cls the LCFContext 635 * @param cls the LCFContext
637 * @param tc the Task context from scheduler
638 */ 636 */
639static void 637static void
640lcf_proc_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); 638lcf_proc_task (void *cls);
641 639
642 640
643/** 641/**
644 * Task to free resources when forwarded link controllers has been timedout 642 * Task to free resources when forwarded link controllers has been timedout
645 * 643 *
646 * @param cls the LCFContext 644 * @param cls the LCFContext
647 * @param tc the task context from scheduler
648 */ 645 */
649static void 646static void
650lcf_forwarded_operation_timeout (void *cls, 647lcf_forwarded_operation_timeout (void *cls)
651 const struct GNUNET_SCHEDULER_TaskContext *tc)
652{ 648{
653 struct LCFContext *lcf = cls; 649 struct LCFContext *lcf = cls;
654 650
@@ -668,10 +664,9 @@ lcf_forwarded_operation_timeout (void *cls,
668 * The Link Controller forwarding task 664 * The Link Controller forwarding task
669 * 665 *
670 * @param cls the LCFContext 666 * @param cls the LCFContext
671 * @param tc the Task context from scheduler
672 */ 667 */
673static void 668static void
674lcf_proc_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 669lcf_proc_task (void *cls)
675{ 670{
676 struct LCFContext *lcf = cls; 671 struct LCFContext *lcf = cls;
677 struct LCFContextQueue *lcfq; 672 struct LCFContextQueue *lcfq;
@@ -852,11 +847,9 @@ trigger_notifications (struct Neighbour *n);
852 * neighbour 847 * neighbour
853 * 848 *
854 * @param cls the neighbour 849 * @param cls the neighbour
855 * @param tc scheduler task context
856 */ 850 */
857static void 851static void
858neighbour_connect_notify_task (void *cls, 852neighbour_connect_notify_task (void *cls)
859 const struct GNUNET_SCHEDULER_TaskContext *tc)
860{ 853{
861 struct Neighbour *n = cls; 854 struct Neighbour *n = cls;
862 struct NeighbourConnectNotification *h; 855 struct NeighbourConnectNotification *h;
@@ -1118,11 +1111,9 @@ GST_free_nccq ()
1118 * Task to be run upon timeout while attempting to connect to the neighbour 1111 * Task to be run upon timeout while attempting to connect to the neighbour
1119 * 1112 *
1120 * @param cls the NeighbourConnectCtxt created in GST_handle_link_controllers() 1113 * @param cls the NeighbourConnectCtxt created in GST_handle_link_controllers()
1121 * @param tc the scheduler task context
1122 */ 1114 */
1123static void 1115static void
1124timeout_neighbour_connect (void *cls, 1116timeout_neighbour_connect (void *cls)
1125 const struct GNUNET_SCHEDULER_TaskContext *tc)
1126{ 1117{
1127 struct NeighbourConnectCtxt *ncc = cls; 1118 struct NeighbourConnectCtxt *ncc = cls;
1128 1119