summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-11-22 14:22:28 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-11-22 14:22:28 +0000
commita0e99f40994a4f620dd5c9b51f84ea5f9268fd1f (patch)
tree535003777bc0396f0a5897d9720be6a10c884887 /src/transport/transport-testing.h
parentd778dbc46a3186140b8947d8614f6e6df9de7718 (diff)
tests for mantis #1028
Diffstat (limited to 'src/transport/transport-testing.h')
-rw-r--r--src/transport/transport-testing.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/transport-testing.h b/src/transport/transport-testing.h
index 6af2d68f5..883c68837 100644
--- a/src/transport/transport-testing.h
+++ b/src/transport/transport-testing.h
@@ -34,6 +34,7 @@
#include "gnunet_container_lib.h"
#include "gnunet_transport_service.h"
+
#define GNUNET_TRANSPORT_TESTING_ConnectRequest void *
@@ -170,7 +171,9 @@ GNUNET_TRANSPORT_TESTING_stop_peer (struct GNUNET_TRANSPORT_TESTING_handle *tth,
int
GNUNET_TRANSPORT_TESTING_restart_peer (struct GNUNET_TRANSPORT_TESTING_handle *tth,
struct PeerContext *p,
- const char *cfgname);
+ const char *cfgname,
+ GNUNET_TRANSPORT_TESTING_start_cb start_cb,
+ void *cb_cls);
/**
* Connect the given peers and call the callback when both peers report the