aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/test_mesh_small.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/test_mesh_small.c')
-rw-r--r--src/mesh/test_mesh_small.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c
index 970283c1a..439f6ec5c 100644
--- a/src/mesh/test_mesh_small.c
+++ b/src/mesh/test_mesh_small.c
@@ -207,7 +207,7 @@ show_end_data (void)
207 207
208/** 208/**
209 * Shut down peergroup, clean up. 209 * Shut down peergroup, clean up.
210 * 210 *
211 * @param cls Closure (unused). 211 * @param cls Closure (unused).
212 * @param tc Task Context. 212 * @param tc Task Context.
213 */ 213 */
@@ -221,7 +221,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
221 221
222/** 222/**
223 * Disconnect from mesh services af all peers, call shutdown. 223 * Disconnect from mesh services af all peers, call shutdown.
224 * 224 *
225 * @param cls Closure (unused). 225 * @param cls Closure (unused).
226 * @param tc Task Context. 226 * @param tc Task Context.
227 */ 227 */
@@ -260,7 +260,7 @@ disconnect_mesh_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
260 260
261/** 261/**
262 * Abort test: schedule disconnect and shutdown immediately 262 * Abort test: schedule disconnect and shutdown immediately
263 * 263 *
264 * @param line Line in the code the abort is requested from (__LINE__). 264 * @param line Line in the code the abort is requested from (__LINE__).
265 */ 265 */
266static void 266static void
@@ -276,11 +276,11 @@ abort_test (long line)
276 276
277/** 277/**
278 * Transmit ready callback. 278 * Transmit ready callback.
279 * 279 *
280 * @param cls Closure (message type). 280 * @param cls Closure (message type).
281 * @param size Size of the tranmist buffer. 281 * @param size Size of the tranmist buffer.
282 * @param buf Pointer to the beginning of the buffer. 282 * @param buf Pointer to the beginning of the buffer.
283 * 283 *
284 * @return Number of bytes written to buf. 284 * @return Number of bytes written to buf.
285 */ 285 */
286static size_t 286static size_t
@@ -289,7 +289,7 @@ tmt_rdy (void *cls, size_t size, void *buf);
289 289
290/** 290/**
291 * Task to schedule a new data transmission. 291 * Task to schedule a new data transmission.
292 * 292 *
293 * @param cls Closure (peer #). 293 * @param cls Closure (peer #).
294 * @param tc Task Context. 294 * @param tc Task Context.
295 */ 295 */
@@ -385,7 +385,7 @@ tmt_rdy (void *cls, size_t size, void *buf)
385 GNUNET_SCHEDULER_add_now (&data_task, NULL); 385 GNUNET_SCHEDULER_add_now (&data_task, NULL);
386 } 386 }
387 } 387 }
388 388
389 return size_payload; 389 return size_payload;
390} 390}
391 391
@@ -615,10 +615,10 @@ channel_cleaner (void *cls, const struct GNUNET_MESH_Channel *channel,
615 615
616/** 616/**
617 * START THE TESTCASE ITSELF, AS WE ARE CONNECTED TO THE MESH SERVICES. 617 * START THE TESTCASE ITSELF, AS WE ARE CONNECTED TO THE MESH SERVICES.
618 * 618 *
619 * Testcase continues when the root receives confirmation of connected peers, 619 * Testcase continues when the root receives confirmation of connected peers,
620 * on callback funtion ch. 620 * on callback funtion ch.
621 * 621 *
622 * @param cls Closure (unsued). 622 * @param cls Closure (unsued).
623 * @param tc Task Context. 623 * @param tc Task Context.
624 */ 624 */
@@ -663,7 +663,7 @@ do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
663 data_received = 0; 663 data_received = 0;
664 data_sent = 0; 664 data_sent = 0;
665 GNUNET_MESH_notify_transmit_ready (ch, GNUNET_NO, 665 GNUNET_MESH_notify_transmit_ready (ch, GNUNET_NO,
666 GNUNET_TIME_UNIT_FOREVER_REL, 666 GNUNET_TIME_UNIT_FOREVER_REL,
667 size_payload, &tmt_rdy, (void *) 1L); 667 size_payload, &tmt_rdy, (void *) 1L);
668} 668}
669 669