2 #include "gnunet_common.h"
3 #include "gnunet_util_lib.h"
4 #include "gnunet_mesh_service.h"
7 run (void *cls, char *const *args,
9 const struct GNUNET_CONFIGURATION_Handle *cfg)
11 struct GNUNET_MESH_Handle *m;
13 m = GNUNET_MESH_connect (cfg, /* the configuration handle */
15 NULL, /* No inbound tunnel handler */
16 NULL, /* No in-tunnel cleaner */
18 NULL); /* We don't get inbound tunnels */
22 main (int argc, char **argv)
24 static const struct GNUNET_GETOPT_CommandLineOption options[] = {
25 GNUNET_GETOPT_OPTION_END
27 GNUNET_PROGRAM_run (argc, argv, "mesh-test",