diff options
Diffstat (limited to 'src/include/gnunet_testing_netjail_lib.h')
-rw-r--r-- | src/include/gnunet_testing_netjail_lib.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_netjail_lib.h b/src/include/gnunet_testing_netjail_lib.h index 106d7cdae..b76ce060b 100644 --- a/src/include/gnunet_testing_netjail_lib.h +++ b/src/include/gnunet_testing_netjail_lib.h | |||
@@ -343,6 +343,7 @@ GNUNET_TESTING_calculate_num (struct | |||
343 | GNUNET_TESTING_NodeConnection *node_connection, | 343 | GNUNET_TESTING_NodeConnection *node_connection, |
344 | struct GNUNET_TESTING_NetjailTopology *topology); | 344 | struct GNUNET_TESTING_NetjailTopology *topology); |
345 | 345 | ||
346 | |||
346 | /** | 347 | /** |
347 | * Struct with information for callbacks. | 348 | * Struct with information for callbacks. |
348 | * | 349 | * |
@@ -507,6 +508,26 @@ GNUNET_TESTING_cmd_local_test_prepared (const char *label, | |||
507 | write_message); | 508 | write_message); |
508 | 509 | ||
509 | 510 | ||
511 | /** | ||
512 | * Create command. | ||
513 | * | ||
514 | * @param label name for command. | ||
515 | * @param system_label Label of the cmd to setup a test environment. | ||
516 | * @param no Decimal number representing the last byte of the IP address of this peer. | ||
517 | * @param node_ip The IP address of this node. | ||
518 | * @param cfgname Configuration file name for this peer. | ||
519 | * @param broadcast Flag indicating, if broadcast should be switched on. | ||
520 | * @return command. | ||
521 | */ | ||
522 | struct GNUNET_TESTING_Command | ||
523 | GNUNET_TESTING_cmd_start_peer (const char *label, | ||
524 | const char *system_label, | ||
525 | uint32_t no, | ||
526 | const char *node_ip, | ||
527 | const char *cfgname, | ||
528 | unsigned int broadcast); | ||
529 | |||
530 | |||
510 | /* ***** Netjail trait support ***** */ | 531 | /* ***** Netjail trait support ***** */ |
511 | 532 | ||
512 | 533 | ||