diff options
Diffstat (limited to 'src/include/gnunet_testing_netjail_lib.h')
-rw-r--r-- | src/include/gnunet_testing_netjail_lib.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/include/gnunet_testing_netjail_lib.h b/src/include/gnunet_testing_netjail_lib.h index 53cae38c6..eb16f6b86 100644 --- a/src/include/gnunet_testing_netjail_lib.h +++ b/src/include/gnunet_testing_netjail_lib.h | |||
@@ -50,6 +50,7 @@ struct GNUNET_TESTING_NetjailRouter | |||
50 | 50 | ||
51 | 51 | ||
52 | /** | 52 | /** |
53 | * FIXME: Naming | ||
53 | * Enum for the different types of nodes. | 54 | * Enum for the different types of nodes. |
54 | */ | 55 | */ |
55 | enum GNUNET_TESTING_NODE_TYPE | 56 | enum GNUNET_TESTING_NODE_TYPE |
@@ -265,6 +266,7 @@ GNUNET_TESTING_get_topo_from_file (const char *filename); | |||
265 | 266 | ||
266 | 267 | ||
267 | /** | 268 | /** |
269 | * FIXME: this could use a "to_string". | ||
268 | * Parse the topology data. | 270 | * Parse the topology data. |
269 | * | 271 | * |
270 | * @param data The topology data. | 272 | * @param data The topology data. |
@@ -386,6 +388,7 @@ struct GNUNET_TESTING_TestState | |||
386 | }; | 388 | }; |
387 | 389 | ||
388 | /** | 390 | /** |
391 | * FIXME: This was also not namespaces. | ||
389 | * Struct with information for callbacks. | 392 | * Struct with information for callbacks. |
390 | * | 393 | * |
391 | */ | 394 | */ |
@@ -408,6 +411,7 @@ struct GNUNET_TESTING_BlockState | |||
408 | }; | 411 | }; |
409 | 412 | ||
410 | /** | 413 | /** |
414 | * FIXME: This was also not namespaced | ||
411 | * Struct to hold information for callbacks. | 415 | * Struct to hold information for callbacks. |
412 | * | 416 | * |
413 | */ | 417 | */ |
@@ -426,7 +430,7 @@ struct GNUNET_TESTING_LocalPreparedState | |||
426 | }; | 430 | }; |
427 | 431 | ||
428 | /** | 432 | /** |
429 | * Create command. | 433 | * Create command. FIXME: What? |
430 | * | 434 | * |
431 | * @param label name for command. | 435 | * @param label name for command. |
432 | * @param create_label Label of the cmd which started the test system. | 436 | * @param create_label Label of the cmd which started the test system. |
@@ -437,13 +441,14 @@ struct GNUNET_TESTING_Command | |||
437 | GNUNET_TESTING_cmd_system_destroy (const char *label, | 441 | GNUNET_TESTING_cmd_system_destroy (const char *label, |
438 | const char *create_label); | 442 | const char *create_label); |
439 | 443 | ||
440 | 444 | //FIXME | |
441 | struct GNUNET_TESTING_Command | 445 | struct GNUNET_TESTING_Command |
442 | GNUNET_TESTING_cmd_system_create (const char *label, | 446 | GNUNET_TESTING_cmd_system_create (const char *label, |
443 | const char *testdir); | 447 | const char *testdir); |
444 | 448 | ||
445 | 449 | ||
446 | /** | 450 | /** |
451 | * FIXME | ||
447 | * Create command. | 452 | * Create command. |
448 | * | 453 | * |
449 | * @param label name for command. | 454 | * @param label name for command. |
@@ -458,6 +463,7 @@ GNUNET_TESTING_cmd_netjail_start (const char *label, | |||
458 | 463 | ||
459 | 464 | ||
460 | /** | 465 | /** |
466 | * FIXME | ||
461 | * Create command. | 467 | * Create command. |
462 | * | 468 | * |
463 | * @param label name for command. | 469 | * @param label name for command. |
@@ -472,6 +478,8 @@ GNUNET_TESTING_cmd_netjail_stop (const char *label, | |||
472 | 478 | ||
473 | 479 | ||
474 | /** | 480 | /** |
481 | * FIXME | ||
482 | * FIXME Naming? | ||
475 | * Create command. | 483 | * Create command. |
476 | * | 484 | * |
477 | * @param label Name for the command. | 485 | * @param label Name for the command. |
@@ -506,6 +514,8 @@ GNUNET_TESTING_cmd_stop_testing_system ( | |||
506 | 514 | ||
507 | /** | 515 | /** |
508 | * Create a GNUNET_CMDS_LOCAL_FINISHED message. | 516 | * Create a GNUNET_CMDS_LOCAL_FINISHED message. |
517 | * FIXME: This is strange as messages are not really used | ||
518 | * like this. Consider removing. | ||
509 | * | 519 | * |
510 | * @return The GNUNET_CMDS_LOCAL_FINISHED message. | 520 | * @return The GNUNET_CMDS_LOCAL_FINISHED message. |
511 | */ | 521 | */ |
@@ -513,6 +523,7 @@ struct GNUNET_MessageHeader * | |||
513 | GNUNET_TESTING_send_local_test_finished_msg (); | 523 | GNUNET_TESTING_send_local_test_finished_msg (); |
514 | 524 | ||
515 | 525 | ||
526 | //FIXME | ||
516 | struct GNUNET_TESTING_Command | 527 | struct GNUNET_TESTING_Command |
517 | GNUNET_TESTING_cmd_block_until_all_peers_started ( | 528 | GNUNET_TESTING_cmd_block_until_all_peers_started ( |
518 | const char *label, | 529 | const char *label, |
@@ -520,6 +531,7 @@ GNUNET_TESTING_cmd_block_until_all_peers_started ( | |||
520 | 531 | ||
521 | 532 | ||
522 | /** | 533 | /** |
534 | * FIXME | ||
523 | * Create command. | 535 | * Create command. |
524 | * | 536 | * |
525 | * @param label name for command. | 537 | * @param label name for command. |
@@ -532,6 +544,7 @@ GNUNET_TESTING_cmd_block_until_external_trigger ( | |||
532 | const char *label); | 544 | const char *label); |
533 | 545 | ||
534 | /** | 546 | /** |
547 | * FIXME | ||
535 | * Create command. | 548 | * Create command. |
536 | * | 549 | * |
537 | * @param label name for command. | 550 | * @param label name for command. |
@@ -544,6 +557,7 @@ GNUNET_TESTING_cmd_send_peer_ready (const char *label, | |||
544 | 557 | ||
545 | 558 | ||
546 | /** | 559 | /** |
560 | * FIXME | ||
547 | * Create command. | 561 | * Create command. |
548 | * | 562 | * |
549 | * @param label name for command. | 563 | * @param label name for command. |
@@ -556,6 +570,7 @@ GNUNET_TESTING_cmd_local_test_finished ( | |||
556 | GNUNET_TESTING_cmd_helper_write_cb write_message); | 570 | GNUNET_TESTING_cmd_helper_write_cb write_message); |
557 | 571 | ||
558 | /** | 572 | /** |
573 | * FIXME | ||
559 | * Create command. | 574 | * Create command. |
560 | * | 575 | * |
561 | * @param label name for command. | 576 | * @param label name for command. |