aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/test_gnunet_helper_testbed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/test_gnunet_helper_testbed.c')
-rw-r--r--src/testbed/test_gnunet_helper_testbed.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/testbed/test_gnunet_helper_testbed.c b/src/testbed/test_gnunet_helper_testbed.c
index ebcfd5a37..7a2dce8a5 100644
--- a/src/testbed/test_gnunet_helper_testbed.c
+++ b/src/testbed/test_gnunet_helper_testbed.c
@@ -80,10 +80,9 @@ static int result;
80 * Shutdown nicely 80 * Shutdown nicely
81 * 81 *
82 * @param cls NULL 82 * @param cls NULL
83 * @param tc the task context
84 */ 83 */
85static void 84static void
86do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 85do_shutdown (void *cls)
87{ 86{
88 if (NULL != abort_task) 87 if (NULL != abort_task)
89 GNUNET_SCHEDULER_cancel (abort_task); 88 GNUNET_SCHEDULER_cancel (abort_task);
@@ -99,10 +98,9 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
99 * abort task to run on test timed out 98 * abort task to run on test timed out
100 * 99 *
101 * @param cls NULL 100 * @param cls NULL
102 * @param tc the task context
103 */ 101 */
104static void 102static void
105do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 103do_abort (void *cls)
106{ 104{
107 abort_task = NULL; 105 abort_task = NULL;
108 LOG (GNUNET_ERROR_TYPE_WARNING, "Test timedout -- Aborting\n"); 106 LOG (GNUNET_ERROR_TYPE_WARNING, "Test timedout -- Aborting\n");
@@ -118,9 +116,9 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
118 * Continuation function. 116 * Continuation function.
119 * 117 *
120 * @param cls closure 118 * @param cls closure
121 * @param result GNUNET_OK on success, 119 * @param result #GNUNET_OK on success,
122 * GNUNET_NO if helper process died 120 * #GNUNET_NO if helper process died
123 * GNUNET_SYSERR during GNUNET_HELPER_stop 121 * #GNUNET_SYSERR during GNUNET_HELPER_stop()
124 */ 122 */
125static void 123static void
126cont_cb (void *cls, int result) 124cont_cb (void *cls, int result)
@@ -141,7 +139,7 @@ cont_cb (void *cls, int result)
141 * @param client identification of the client 139 * @param client identification of the client
142 * @param message the actual message 140 * @param message the actual message
143 * 141 *
144 * @return GNUNET_OK on success, GNUNET_SYSERR to stop further processing 142 * @return #GNUNET_OK on success, #GNUNET_SYSERR to stop further processing
145 */ 143 */
146static int 144static int
147mst_cb (void *cls, void *client, const struct GNUNET_MessageHeader *message) 145mst_cb (void *cls, void *client, const struct GNUNET_MessageHeader *message)