diff options
author | t3sserakt <t3ss@posteo.de> | 2021-04-15 15:35:28 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2021-04-15 15:35:28 +0200 |
commit | 925c210d978cd0e3dfc718d9e4c65ad713a817b9 (patch) | |
tree | b769182d686220816a387336d525f37124dbad72 /src/include/gnunet_testbed_ng_service.h | |
parent | a785d16b7f49947458782f65f344036a848f4ac7 (diff) |
- added handling of asynchronous task to testing ng. added testbed commands for setting up test invironment (atm wihtout the use of the ne async handling)
Diffstat (limited to 'src/include/gnunet_testbed_ng_service.h')
-rw-r--r-- | src/include/gnunet_testbed_ng_service.h | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/src/include/gnunet_testbed_ng_service.h b/src/include/gnunet_testbed_ng_service.h index a6f30889f..370617e68 100644 --- a/src/include/gnunet_testbed_ng_service.h +++ b/src/include/gnunet_testbed_ng_service.h @@ -38,33 +38,7 @@ #include "gnunet_util_lib.h" #include "gnunet_testing_ng_lib.h" -struct ServiceState -{ - /** - * Handle to operation - */ - struct GNUNET_TESTBED_Operation *operation; - - /** - * Flag indicating if service is ready. - */ - int service_ready; - - /** - * Abort task identifier - */ - struct GNUNET_SCHEDULER_Task *abort_task; - - /** - * Label of peer command. - */ - const char *peer_label; - - /** - * Name of service to start. - */ - const char *servicename; -}; +struct TngState; struct PeerCmdState { @@ -111,11 +85,6 @@ struct PeerCmdState struct GNUNET_SCHEDULER_Task *abort_task; /** - * Handle for host registration - */ - struct GNUNET_TESTBED_HostRegistrationHandle *reg_handle; - - /** * Flag indicating if peer is ready. */ int peer_ready; @@ -242,6 +211,6 @@ void GNUNET_TESTBED_shutdown_peer (struct PeerCmdState *ps); void -GNUNET_TESTBED_shutdown_service (struct ServiceState *ss); +GNUNET_TESTBED_shutdown_service (struct TngState *ss); #endif |