aboutsummaryrefslogtreecommitdiff
path: root/src/stream/mesh-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/mesh-test.c')
-rw-r--r--src/stream/mesh-test.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/stream/mesh-test.c b/src/stream/mesh-test.c
deleted file mode 100644
index eb9594a9f..000000000
--- a/src/stream/mesh-test.c
+++ /dev/null
@@ -1,31 +0,0 @@
1#include "platform.h"
2#include "gnunet_common.h"
3#include "gnunet_util_lib.h"
4#include "gnunet_mesh_service.h"
5
6static void
7run (void *cls, char *const *args,
8 const char *cfgfile,
9 const struct GNUNET_CONFIGURATION_Handle *cfg)
10{
11 struct GNUNET_MESH_Handle *m;
12
13 m = GNUNET_MESH_connect (cfg, /* the configuration handle */
14 socket, /* cls */
15 NULL, /* No inbound tunnel handler */
16 NULL, /* No in-tunnel cleaner */
17 NULL,
18 NULL); /* We don't get inbound tunnels */
19}
20
21int
22main (int argc, char **argv)
23{
24 static const struct GNUNET_GETOPT_CommandLineOption options[] = {
25 GNUNET_GETOPT_OPTION_END
26 };
27 GNUNET_PROGRAM_run (argc, argv, "mesh-test",
28 "help",
29 options, &run, NULL);
30 return 0;
31}