aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing-cmds.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport-testing-cmds.h')
-rw-r--r--src/transport/transport-testing-cmds.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/transport/transport-testing-cmds.h b/src/transport/transport-testing-cmds.h
index 5d0b902f6..d2e49c0d3 100644
--- a/src/transport/transport-testing-cmds.h
+++ b/src/transport/transport-testing-cmds.h
@@ -29,6 +29,10 @@
29#include "gnunet_testing_lib.h" 29#include "gnunet_testing_lib.h"
30 30
31 31
32typedef void *
33(*GNUNET_TRANSPORT_notify_connect_cb) (struct GNUNET_TESTING_Interpreter *is,
34 const struct GNUNET_PeerIdentity *peer);
35
32/** 36/**
33 * Struct to store information needed in callbacks. 37 * Struct to store information needed in callbacks.
34 * 38 *
@@ -40,7 +44,7 @@ struct ConnectPeersState
40 */ 44 */
41 struct GNUNET_TESTING_AsyncContext ac; 45 struct GNUNET_TESTING_AsyncContext ac;
42 46
43 GNUNET_TRANSPORT_NotifyConnect notify_connect; 47 GNUNET_TRANSPORT_notify_connect_cb notify_connect;
44 48
45 /** 49 /**
46 * The testing system of this node. 50 * The testing system of this node.
@@ -163,7 +167,7 @@ struct StartPeerState
163 167
164 struct GNUNET_TESTING_System *tl_system; 168 struct GNUNET_TESTING_System *tl_system;
165 169
166 GNUNET_TRANSPORT_NotifyConnect notify_connect; 170 GNUNET_TRANSPORT_notify_connect_cb notify_connect;
167 171
168 /** 172 /**
169 * Flag indicating, if udp broadcast should be switched on. 173 * Flag indicating, if udp broadcast should be switched on.
@@ -213,7 +217,8 @@ GNUNET_TRANSPORT_cmd_start_peer (const char *label,
213 char *node_ip, 217 char *node_ip,
214 struct GNUNET_MQ_MessageHandler *handlers, 218 struct GNUNET_MQ_MessageHandler *handlers,
215 const char *cfgname, 219 const char *cfgname,
216 GNUNET_TRANSPORT_NotifyConnect notify_connect, 220 GNUNET_TRANSPORT_notify_connect_cb
221 notify_connect,
217 unsigned int broadcast); 222 unsigned int broadcast);
218 223
219 224