diff options
Diffstat (limited to 'src/transport/transport_api_cmd_start_peer.c')
-rw-r--r-- | src/transport/transport_api_cmd_start_peer.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/transport/transport_api_cmd_start_peer.c b/src/transport/transport_api_cmd_start_peer.c index 4077b7561..0ad9f99af 100644 --- a/src/transport/transport_api_cmd_start_peer.c +++ b/src/transport/transport_api_cmd_start_peer.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
29 | #include "gnunet_peerstore_service.h" | 29 | #include "gnunet_peerstore_service.h" |
30 | #include "gnunet_transport_core_service.h" | 30 | #include "gnunet_transport_core_service.h" |
31 | #include "gnunet_transport_application_service.h" | ||
31 | 32 | ||
32 | /** | 33 | /** |
33 | * Generic logging shortcut | 34 | * Generic logging shortcut |
@@ -483,11 +484,11 @@ GNUNET_TESTING_get_trait_connected_peers_map (const struct | |||
483 | 484 | ||
484 | 485 | ||
485 | int | 486 | int |
486 | GNUNET_TESTING_get_trait_application_handle (const struct | 487 | GNUNET_TRANSPORT_get_trait_application_handle (const struct |
487 | GNUNET_TESTING_Command *cmd, | 488 | GNUNET_TESTING_Command *cmd, |
488 | struct | 489 | struct |
489 | GNUNET_TRANSPORT_ApplicationHandle | 490 | GNUNET_TRANSPORT_ApplicationHandle |
490 | **ah) | 491 | **ah) |
491 | { | 492 | { |
492 | return cmd->traits (cmd->cls, | 493 | return cmd->traits (cmd->cls, |
493 | (const void **) ah, | 494 | (const void **) ah, |
@@ -515,12 +516,12 @@ GNUNET_TESTING_get_trait_peer_id (const struct | |||
515 | * @return command. | 516 | * @return command. |
516 | */ | 517 | */ |
517 | struct GNUNET_TESTING_Command | 518 | struct GNUNET_TESTING_Command |
518 | GNUNET_TESTING_cmd_start_peer (const char *label, | 519 | GNUNET_TRANSPORT_cmd_start_peer (const char *label, |
519 | const char *system_label, | 520 | const char *system_label, |
520 | char *m, | 521 | char *m, |
521 | char *n, | 522 | char *n, |
522 | struct GNUNET_MQ_MessageHandler *handlers, | 523 | struct GNUNET_MQ_MessageHandler *handlers, |
523 | const char *cfgname) | 524 | const char *cfgname) |
524 | { | 525 | { |
525 | struct StartPeerState *sps; | 526 | struct StartPeerState *sps; |
526 | struct GNUNET_CONTAINER_MultiPeerMap *connected_peers_map = | 527 | struct GNUNET_CONTAINER_MultiPeerMap *connected_peers_map = |