summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-11-22 09:05:19 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-11-22 09:05:19 +0000
commit0884d78b8fb7a867440802629698692c334bffbd (patch)
treeb564a125d6ef4c7f45e97516d183042b156a60bb /src/transport/transport-testing.h
parentffabb052fa64eded69dffa1387b72df0ad1b0211 (diff)
Diffstat (limited to 'src/transport/transport-testing.h')
-rw-r--r--src/transport/transport-testing.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/transport/transport-testing.h b/src/transport/transport-testing.h
index 32641d8bc..6af2d68f5 100644
--- a/src/transport/transport-testing.h
+++ b/src/transport/transport-testing.h
@@ -161,11 +161,13 @@ GNUNET_TRANSPORT_TESTING_stop_peer (struct GNUNET_TRANSPORT_TESTING_handle *tth,
/**
- * Restart the given peer
- * @param tth testing handle
- * @param p the peer
- */
-void
+* Restart the given peer
+* @param tth testing handle
+* @param p the peer
+* @param cfgname the cfg file used to restart
+* @return GNUNET_OK in success otherwise GNUNET_SYSERR
+*/
+int
GNUNET_TRANSPORT_TESTING_restart_peer (struct GNUNET_TRANSPORT_TESTING_handle *tth,
struct PeerContext *p,
const char *cfgname);