aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport-testing.h')
-rw-r--r--src/transport/transport-testing.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/transport/transport-testing.h b/src/transport/transport-testing.h
index 3e5486eb7..7899279dc 100644
--- a/src/transport/transport-testing.h
+++ b/src/transport/transport-testing.h
@@ -118,4 +118,19 @@ GNUNET_TRANSPORT_TESTING_connect_peers (struct PeerContext *p1,
118void 118void
119GNUNET_TRANSPORT_TESTING_connect_peers_cancel (void *cc); 119GNUNET_TRANSPORT_TESTING_connect_peers_cancel (void *cc);
120 120
121/*
122 * Some utility functions
123 */
124
125/**
126 * this function takes the filename (e.g. argv[0), removes a "lt-"-prefix and
127 * if existing ".exe"-prefix and adds the peer-number
128 * @param file filename of the test, e.g. argv[0]
129 * @param cfgname where to write the result
130 * @param count peer number
131 */
132void
133GNUNET_TRANSPORT_TESTING_get_config_name (const char *file, char **cfgname,
134 int count);
135
121/* end of transport_testing.h */ 136/* end of transport_testing.h */