aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testbed_ng_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_testbed_ng_service.h')
-rw-r--r--src/include/gnunet_testbed_ng_service.h35
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 @@
38#include "gnunet_util_lib.h" 38#include "gnunet_util_lib.h"
39#include "gnunet_testing_ng_lib.h" 39#include "gnunet_testing_ng_lib.h"
40 40
41struct ServiceState 41struct TngState;
42{
43 /**
44 * Handle to operation
45 */
46 struct GNUNET_TESTBED_Operation *operation;
47
48 /**
49 * Flag indicating if service is ready.
50 */
51 int service_ready;
52
53 /**
54 * Abort task identifier
55 */
56 struct GNUNET_SCHEDULER_Task *abort_task;
57
58 /**
59 * Label of peer command.
60 */
61 const char *peer_label;
62
63 /**
64 * Name of service to start.
65 */
66 const char *servicename;
67};
68 42
69struct PeerCmdState 43struct PeerCmdState
70{ 44{
@@ -111,11 +85,6 @@ struct PeerCmdState
111 struct GNUNET_SCHEDULER_Task *abort_task; 85 struct GNUNET_SCHEDULER_Task *abort_task;
112 86
113 /** 87 /**
114 * Handle for host registration
115 */
116 struct GNUNET_TESTBED_HostRegistrationHandle *reg_handle;
117
118 /**
119 * Flag indicating if peer is ready. 88 * Flag indicating if peer is ready.
120 */ 89 */
121 int peer_ready; 90 int peer_ready;
@@ -242,6 +211,6 @@ void
242GNUNET_TESTBED_shutdown_peer (struct PeerCmdState *ps); 211GNUNET_TESTBED_shutdown_peer (struct PeerCmdState *ps);
243 212
244void 213void
245GNUNET_TESTBED_shutdown_service (struct ServiceState *ss); 214GNUNET_TESTBED_shutdown_service (struct TngState *ss);
246 215
247#endif 216#endif