aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-30 19:52:09 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-30 19:52:09 +0000
commit302e8874b89fb670a9dfdc5992ac6c9b20f2122d (patch)
tree8acacda3b764395cfd18e53a09ebbfe1ddf08478
parent7742b7ee0e7ef2b69228053b1a1685560eb13df4 (diff)
downloadgnunet-302e8874b89fb670a9dfdc5992ac6c9b20f2122d.tar.gz
gnunet-302e8874b89fb670a9dfdc5992ac6c9b20f2122d.zip
making the new mesh the default
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/include/gnunet_mesh_service.h (renamed from src/include/gnunet_mesh_service_new.h)0
-rw-r--r--src/mesh/Makefile.am36
-rw-r--r--src/mesh/mesh.h2
-rw-r--r--src/mesh/mesh_api.c (renamed from src/mesh/mesh_api_new.c)4
-rw-r--r--src/mesh/test_mesh_api.c2
-rw-r--r--src/mesh/test_mesh_local_1.c2
-rw-r--r--src/mesh/test_mesh_local_2.c2
-rw-r--r--src/mesh/test_mesh_path_api.c2
-rw-r--r--src/mesh/test_mesh_small.c2
-rw-r--r--src/mesh/test_mesh_small_unicast_far.c2
-rw-r--r--src/vpn/Makefile.am6
-rw-r--r--src/vpn/gnunet-daemon-exit.c2
-rw-r--r--src/vpn/gnunet-daemon-vpn-dns.c2
-rw-r--r--src/vpn/gnunet-daemon-vpn-helper.c2
-rw-r--r--src/vpn/gnunet-daemon-vpn.c2
-rw-r--r--src/vpn/gnunet-service-dns.c2
17 files changed, 35 insertions, 37 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 37e449ec1..e84915b05 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -190,7 +190,6 @@ src/block/plugin_block_dns.c
190src/block/plugin_block_template.c 190src/block/plugin_block_template.c
191src/mesh/mesh_api.c 191src/mesh/mesh_api.c
192src/mesh/mesh_tunnel_tree.c 192src/mesh/mesh_tunnel_tree.c
193src/mesh/mesh_api_new.c
194src/mesh/gnunet-service-mesh.c 193src/mesh/gnunet-service-mesh.c
195src/hello/hello.c 194src/hello/hello.c
196src/hostlist/hostlist-client.c 195src/hostlist/hostlist-client.c
@@ -291,7 +290,6 @@ src/include/platform.h
291src/include/gnunet_load_lib.h 290src/include/gnunet_load_lib.h
292src/include/gnunet_ats_service.h 291src/include/gnunet_ats_service.h
293src/include/gnunet_getopt_lib.h 292src/include/gnunet_getopt_lib.h
294src/include/gnunet_mesh_service_new.h
295src/include/gnunet_configuration_lib.h 293src/include/gnunet_configuration_lib.h
296src/include/gnunet_util_lib.h 294src/include/gnunet_util_lib.h
297src/include/gnunet_disk_lib.h 295src/include/gnunet_disk_lib.h
diff --git a/src/include/gnunet_mesh_service_new.h b/src/include/gnunet_mesh_service.h
index 0497cee2f..0497cee2f 100644
--- a/src/include/gnunet_mesh_service_new.h
+++ b/src/include/gnunet_mesh_service.h
diff --git a/src/mesh/Makefile.am b/src/mesh/Makefile.am
index 341ce4699..b186b3188 100644
--- a/src/mesh/Makefile.am
+++ b/src/mesh/Makefile.am
@@ -15,7 +15,7 @@ bin_PROGRAMS = \
15 gnunet-service-mesh 15 gnunet-service-mesh
16 16
17lib_LTLIBRARIES = \ 17lib_LTLIBRARIES = \
18 libgnunetmeshnew.la 18 libgnunetmesh.la
19 19
20gnunet_service_mesh_SOURCES = \ 20gnunet_service_mesh_SOURCES = \
21 gnunet-service-mesh.c mesh_tunnel_tree.c 21 gnunet-service-mesh.c mesh_tunnel_tree.c
@@ -28,12 +28,12 @@ gnunet_service_mesh_LDADD = \
28 $(top_builddir)/src/dht/libgnunetdht.la \ 28 $(top_builddir)/src/dht/libgnunetdht.la \
29 $(top_builddir)/src/util/libgnunetutil.la 29 $(top_builddir)/src/util/libgnunetutil.la
30 30
31libgnunetmeshnew_la_SOURCES = \ 31libgnunetmesh_la_SOURCES = \
32 mesh_api_new.c mesh.h 32 mesh_api.c mesh.h
33libgnunetmeshnew_la_LIBADD = \ 33libgnunetmesh_la_LIBADD = \
34 $(top_builddir)/src/util/libgnunetutil.la \ 34 $(top_builddir)/src/util/libgnunetutil.la \
35 $(XLIB) 35 $(XLIB)
36libgnunetmeshnew_la_LDFLAGS = \ 36libgnunetmesh_la_LDFLAGS = \
37 $(GN_LIB_LDFLAGS) $(WINFLAGS) \ 37 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
38 -version-info 0:0:0 38 -version-info 0:0:0
39 39
@@ -50,9 +50,9 @@ test_mesh_api_SOURCES = \
50 test_mesh_api.c 50 test_mesh_api.c
51test_mesh_api_LDADD = \ 51test_mesh_api_LDADD = \
52 $(top_builddir)/src/util/libgnunetutil.la \ 52 $(top_builddir)/src/util/libgnunetutil.la \
53 $(top_builddir)/src/mesh/libgnunetmeshnew.la 53 $(top_builddir)/src/mesh/libgnunetmesh.la
54test_mesh_api_DEPENDENCIES = \ 54test_mesh_api_DEPENDENCIES = \
55 libgnunetmeshnew.la \ 55 libgnunetmesh.la \
56 $(top_builddir)/src/util/libgnunetutil.la 56 $(top_builddir)/src/util/libgnunetutil.la
57 57
58test_mesh_path_api_SOURCES = \ 58test_mesh_path_api_SOURCES = \
@@ -61,51 +61,51 @@ test_mesh_path_api_LDADD = \
61 $(top_builddir)/src/util/libgnunetutil.la \ 61 $(top_builddir)/src/util/libgnunetutil.la \
62 $(top_builddir)/src/dht/libgnunetdht.la 62 $(top_builddir)/src/dht/libgnunetdht.la
63test_mesh_path_api_DEPENDENCIES = \ 63test_mesh_path_api_DEPENDENCIES = \
64 libgnunetmeshnew.la \ 64 libgnunetmesh.la \
65 $(top_builddir)/src/dht/libgnunetdht.la 65 $(top_builddir)/src/dht/libgnunetdht.la
66 66
67test_mesh_local_1_SOURCES = \ 67test_mesh_local_1_SOURCES = \
68 test_mesh_local_1.c 68 test_mesh_local_1.c
69test_mesh_local_1_LDADD = \ 69test_mesh_local_1_LDADD = \
70 $(top_builddir)/src/util/libgnunetutil.la \ 70 $(top_builddir)/src/util/libgnunetutil.la \
71 $(top_builddir)/src/mesh/libgnunetmeshnew.la 71 $(top_builddir)/src/mesh/libgnunetmesh.la
72test_mesh_local_1_DEPENDENCIES = \ 72test_mesh_local_1_DEPENDENCIES = \
73 libgnunetmeshnew.la 73 libgnunetmesh.la
74 74
75test_mesh_local_2_SOURCES = \ 75test_mesh_local_2_SOURCES = \
76 test_mesh_local_2.c 76 test_mesh_local_2.c
77test_mesh_local_2_LDADD = \ 77test_mesh_local_2_LDADD = \
78 $(top_builddir)/src/util/libgnunetutil.la \ 78 $(top_builddir)/src/util/libgnunetutil.la \
79 $(top_builddir)/src/mesh/libgnunetmeshnew.la 79 $(top_builddir)/src/mesh/libgnunetmesh.la
80test_mesh_local_2_DEPENDENCIES = \ 80test_mesh_local_2_DEPENDENCIES = \
81 libgnunetmeshnew.la 81 libgnunetmesh.la
82 82
83test_mesh_small_unicast_SOURCES = \ 83test_mesh_small_unicast_SOURCES = \
84 test_mesh_small.c 84 test_mesh_small.c
85test_mesh_small_unicast_LDADD = \ 85test_mesh_small_unicast_LDADD = \
86 $(top_builddir)/src/mesh/libgnunetmeshnew.la \ 86 $(top_builddir)/src/mesh/libgnunetmesh.la \
87 $(top_builddir)/src/util/libgnunetutil.la \ 87 $(top_builddir)/src/util/libgnunetutil.la \
88 $(top_builddir)/src/testing/libgnunettesting.la 88 $(top_builddir)/src/testing/libgnunettesting.la
89test_mesh_small_unicast_DEPENDENCIES = \ 89test_mesh_small_unicast_DEPENDENCIES = \
90 libgnunetmeshnew.la 90 libgnunetmesh.la
91 91
92test_mesh_small_unicast_far_SOURCES = \ 92test_mesh_small_unicast_far_SOURCES = \
93 test_mesh_small.c 93 test_mesh_small.c
94test_mesh_small_unicast_far_LDADD = \ 94test_mesh_small_unicast_far_LDADD = \
95 $(top_builddir)/src/mesh/libgnunetmeshnew.la \ 95 $(top_builddir)/src/mesh/libgnunetmesh.la \
96 $(top_builddir)/src/util/libgnunetutil.la \ 96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/testing/libgnunettesting.la 97 $(top_builddir)/src/testing/libgnunettesting.la
98test_mesh_small_unicast_far_DEPENDENCIES = \ 98test_mesh_small_unicast_far_DEPENDENCIES = \
99 libgnunetmeshnew.la 99 libgnunetmesh.la
100 100
101test_mesh_small_multicast_SOURCES = \ 101test_mesh_small_multicast_SOURCES = \
102 test_mesh_small.c 102 test_mesh_small.c
103test_mesh_small_multicast_LDADD = \ 103test_mesh_small_multicast_LDADD = \
104 $(top_builddir)/src/mesh/libgnunetmeshnew.la \ 104 $(top_builddir)/src/mesh/libgnunetmesh.la \
105 $(top_builddir)/src/util/libgnunetutil.la \ 105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/testing/libgnunettesting.la 106 $(top_builddir)/src/testing/libgnunettesting.la
107test_mesh_small_multicast_DEPENDENCIES = \ 107test_mesh_small_multicast_DEPENDENCIES = \
108 libgnunetmeshnew.la 108 libgnunetmesh.la
109 109
110 110
111if ENABLE_TEST_RUN 111if ENABLE_TEST_RUN
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h
index 8d6985a31..d0648bd3e 100644
--- a/src/mesh/mesh.h
+++ b/src/mesh/mesh.h
@@ -36,7 +36,7 @@
36#include "gnunet_peer_lib.h" 36#include "gnunet_peer_lib.h"
37#include "gnunet_core_service.h" 37#include "gnunet_core_service.h"
38#include "gnunet_protocols.h" 38#include "gnunet_protocols.h"
39#include <gnunet_mesh_service_new.h> 39#include <gnunet_mesh_service.h>
40 40
41/******************************************************************************/ 41/******************************************************************************/
42/******************** MESH LOCAL MESSAGES *************************/ 42/******************** MESH LOCAL MESSAGES *************************/
diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api.c
index 1d2586825..33cb41179 100644
--- a/src/mesh/mesh_api_new.c
+++ b/src/mesh/mesh_api.c
@@ -16,7 +16,7 @@
16*/ 16*/
17 17
18/** 18/**
19 * @file mesh/mesh_api_new.c 19 * @file mesh/mesh_api.c
20 * @brief mesh api: client implementation of mesh service 20 * @brief mesh api: client implementation of mesh service
21 * @author Bartlomiej Polot 21 * @author Bartlomiej Polot
22 * 22 *
@@ -41,7 +41,7 @@ extern "C"
41#include "gnunet_client_lib.h" 41#include "gnunet_client_lib.h"
42#include "gnunet_util_lib.h" 42#include "gnunet_util_lib.h"
43#include "gnunet_peer_lib.h" 43#include "gnunet_peer_lib.h"
44#include "gnunet_mesh_service_new.h" 44#include "gnunet_mesh_service.h"
45#include "mesh.h" 45#include "mesh.h"
46#include "mesh_protocol.h" 46#include "mesh_protocol.h"
47 47
diff --git a/src/mesh/test_mesh_api.c b/src/mesh/test_mesh_api.c
index 1699097f6..10e16bd42 100644
--- a/src/mesh/test_mesh_api.c
+++ b/src/mesh/test_mesh_api.c
@@ -27,7 +27,7 @@
27#include "platform.h" 27#include "platform.h"
28#include "gnunet_util_lib.h" 28#include "gnunet_util_lib.h"
29#include "gnunet_dht_service.h" 29#include "gnunet_dht_service.h"
30#include "gnunet_mesh_service_new.h" 30#include "gnunet_mesh_service.h"
31 31
32#define VERBOSE 1 32#define VERBOSE 1
33#define VERBOSE_ARM 0 33#define VERBOSE_ARM 0
diff --git a/src/mesh/test_mesh_local_1.c b/src/mesh/test_mesh_local_1.c
index 1c9196bb2..a7ca77ccd 100644
--- a/src/mesh/test_mesh_local_1.c
+++ b/src/mesh/test_mesh_local_1.c
@@ -27,7 +27,7 @@
27#include "platform.h" 27#include "platform.h"
28#include "gnunet_util_lib.h" 28#include "gnunet_util_lib.h"
29#include "gnunet_dht_service.h" 29#include "gnunet_dht_service.h"
30#include "gnunet_mesh_service_new.h" 30#include "gnunet_mesh_service.h"
31 31
32#define VERBOSE 1 32#define VERBOSE 1
33#define VERBOSE_ARM 0 33#define VERBOSE_ARM 0
diff --git a/src/mesh/test_mesh_local_2.c b/src/mesh/test_mesh_local_2.c
index ee1e6c46a..a2f5dd759 100644
--- a/src/mesh/test_mesh_local_2.c
+++ b/src/mesh/test_mesh_local_2.c
@@ -27,7 +27,7 @@
27#include "platform.h" 27#include "platform.h"
28#include "gnunet_util_lib.h" 28#include "gnunet_util_lib.h"
29#include "gnunet_dht_service.h" 29#include "gnunet_dht_service.h"
30#include "gnunet_mesh_service_new.h" 30#include "gnunet_mesh_service.h"
31 31
32#define VERBOSE 1 32#define VERBOSE 1
33#define VERBOSE_ARM 0 33#define VERBOSE_ARM 0
diff --git a/src/mesh/test_mesh_path_api.c b/src/mesh/test_mesh_path_api.c
index d5aea7ebc..eb3ce57db 100644
--- a/src/mesh/test_mesh_path_api.c
+++ b/src/mesh/test_mesh_path_api.c
@@ -28,7 +28,7 @@
28#include "gnunet_common.h" 28#include "gnunet_common.h"
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30#include "gnunet_dht_service.h" 30#include "gnunet_dht_service.h"
31#include "gnunet_mesh_service_new.h" 31#include "gnunet_mesh_service.h"
32#include "mesh.h" 32#include "mesh.h"
33#include "mesh_tunnel_tree.h" 33#include "mesh_tunnel_tree.h"
34 34
diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c
index 3c80a80f0..1110a36f7 100644
--- a/src/mesh/test_mesh_small.c
+++ b/src/mesh/test_mesh_small.c
@@ -24,7 +24,7 @@
24 */ 24 */
25#include "platform.h" 25#include "platform.h"
26#include "gnunet_testing_lib.h" 26#include "gnunet_testing_lib.h"
27#include "gnunet_mesh_service_new.h" 27#include "gnunet_mesh_service.h"
28 28
29#define VERBOSE GNUNET_YES 29#define VERBOSE GNUNET_YES
30#define REMOVE_DIR GNUNET_YES 30#define REMOVE_DIR GNUNET_YES
diff --git a/src/mesh/test_mesh_small_unicast_far.c b/src/mesh/test_mesh_small_unicast_far.c
index f5bab6fb4..e35922929 100644
--- a/src/mesh/test_mesh_small_unicast_far.c
+++ b/src/mesh/test_mesh_small_unicast_far.c
@@ -24,7 +24,7 @@
24 */ 24 */
25#include "platform.h" 25#include "platform.h"
26#include "gnunet_testing_lib.h" 26#include "gnunet_testing_lib.h"
27#include "gnunet_mesh_service_new.h" 27#include "gnunet_mesh_service.h"
28 28
29#define VERBOSE GNUNET_YES 29#define VERBOSE GNUNET_YES
30#define REMOVE_DIR GNUNET_YES 30#define REMOVE_DIR GNUNET_YES
diff --git a/src/vpn/Makefile.am b/src/vpn/Makefile.am
index 7999990fe..0c61aa904 100644
--- a/src/vpn/Makefile.am
+++ b/src/vpn/Makefile.am
@@ -42,7 +42,7 @@ gnunet_daemon_vpn_LDADD = \
42 $(top_builddir)/src/core/libgnunetcore.la \ 42 $(top_builddir)/src/core/libgnunetcore.la \
43 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 43 $(top_builddir)/src/statistics/libgnunetstatistics.la \
44 $(top_builddir)/src/util/libgnunetutil.la \ 44 $(top_builddir)/src/util/libgnunetutil.la \
45 $(top_builddir)/src/mesh/libgnunetmeshnew.la \ 45 $(top_builddir)/src/mesh/libgnunetmesh.la \
46 $(GN_LIBINTL) 46 $(GN_LIBINTL)
47 47
48gnunet_service_dns_SOURCES = \ 48gnunet_service_dns_SOURCES = \
@@ -53,7 +53,7 @@ gnunet_service_dns_LDADD = \
53 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 53 $(top_builddir)/src/statistics/libgnunetstatistics.la \
54 $(top_builddir)/src/util/libgnunetutil.la \ 54 $(top_builddir)/src/util/libgnunetutil.la \
55 $(top_builddir)/src/dht/libgnunetdht.la \ 55 $(top_builddir)/src/dht/libgnunetdht.la \
56 $(top_builddir)/src/mesh/libgnunetmeshnew.la \ 56 $(top_builddir)/src/mesh/libgnunetmesh.la \
57 $(GN_LIBINTL) 57 $(GN_LIBINTL)
58 58
59gnunet_daemon_exit_SOURCES = \ 59gnunet_daemon_exit_SOURCES = \
@@ -64,7 +64,7 @@ gnunet_daemon_exit_LDADD = \
64 $(top_builddir)/src/core/libgnunetcore.la \ 64 $(top_builddir)/src/core/libgnunetcore.la \
65 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 65 $(top_builddir)/src/statistics/libgnunetstatistics.la \
66 $(top_builddir)/src/util/libgnunetutil.la \ 66 $(top_builddir)/src/util/libgnunetutil.la \
67 $(top_builddir)/src/mesh/libgnunetmeshnew.la \ 67 $(top_builddir)/src/mesh/libgnunetmesh.la \
68 $(GN_LIBINTL) 68 $(GN_LIBINTL)
69 69
70#check_PROGRAMS = \ 70#check_PROGRAMS = \
diff --git a/src/vpn/gnunet-daemon-exit.c b/src/vpn/gnunet-daemon-exit.c
index 605071837..a6112137d 100644
--- a/src/vpn/gnunet-daemon-exit.c
+++ b/src/vpn/gnunet-daemon-exit.c
@@ -28,7 +28,7 @@
28#include <gnunet_program_lib.h> 28#include <gnunet_program_lib.h>
29#include <gnunet_protocols.h> 29#include <gnunet_protocols.h>
30#include <gnunet_applications.h> 30#include <gnunet_applications.h>
31#include <gnunet_mesh_service_new.h> 31#include <gnunet_mesh_service.h>
32#include <gnunet_constants.h> 32#include <gnunet_constants.h>
33#include <string.h> 33#include <string.h>
34 34
diff --git a/src/vpn/gnunet-daemon-vpn-dns.c b/src/vpn/gnunet-daemon-vpn-dns.c
index b3a9929a1..7f762238c 100644
--- a/src/vpn/gnunet-daemon-vpn-dns.c
+++ b/src/vpn/gnunet-daemon-vpn-dns.c
@@ -27,7 +27,7 @@
27#include <gnunet_common.h> 27#include <gnunet_common.h>
28#include <gnunet_client_lib.h> 28#include <gnunet_client_lib.h>
29#include <gnunet_os_lib.h> 29#include <gnunet_os_lib.h>
30#include <gnunet_mesh_service_new.h> 30#include <gnunet_mesh_service.h>
31#include <gnunet_protocols.h> 31#include <gnunet_protocols.h>
32#include <gnunet_server_lib.h> 32#include <gnunet_server_lib.h>
33#include <gnunet_container_lib.h> 33#include <gnunet_container_lib.h>
diff --git a/src/vpn/gnunet-daemon-vpn-helper.c b/src/vpn/gnunet-daemon-vpn-helper.c
index 9ee6021c8..81a52e222 100644
--- a/src/vpn/gnunet-daemon-vpn-helper.c
+++ b/src/vpn/gnunet-daemon-vpn-helper.c
@@ -27,7 +27,7 @@
27#include <gnunet_common.h> 27#include <gnunet_common.h>
28#include <gnunet_client_lib.h> 28#include <gnunet_client_lib.h>
29#include <gnunet_os_lib.h> 29#include <gnunet_os_lib.h>
30#include <gnunet_mesh_service_new.h> 30#include <gnunet_mesh_service.h>
31#include <gnunet_protocols.h> 31#include <gnunet_protocols.h>
32#include <gnunet_server_lib.h> 32#include <gnunet_server_lib.h>
33#include <gnunet_container_lib.h> 33#include <gnunet_container_lib.h>
diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c
index 5b96f201e..33a87cf9b 100644
--- a/src/vpn/gnunet-daemon-vpn.c
+++ b/src/vpn/gnunet-daemon-vpn.c
@@ -30,7 +30,7 @@
30#include "gnunet_common.h" 30#include "gnunet_common.h"
31#include "gnunet_protocols.h" 31#include "gnunet_protocols.h"
32#include "gnunet_applications.h" 32#include "gnunet_applications.h"
33#include <gnunet_mesh_service_new.h> 33#include <gnunet_mesh_service.h>
34#include "gnunet_client_lib.h" 34#include "gnunet_client_lib.h"
35#include "gnunet_container_lib.h" 35#include "gnunet_container_lib.h"
36#include "gnunet_constants.h" 36#include "gnunet_constants.h"
diff --git a/src/vpn/gnunet-service-dns.c b/src/vpn/gnunet-service-dns.c
index df9d74163..5bf2ed232 100644
--- a/src/vpn/gnunet-service-dns.c
+++ b/src/vpn/gnunet-service-dns.c
@@ -38,7 +38,7 @@
38#include "gnunet_block_lib.h" 38#include "gnunet_block_lib.h"
39#include "block_dns.h" 39#include "block_dns.h"
40#include "gnunet_crypto_lib.h" 40#include "gnunet_crypto_lib.h"
41#include "gnunet_mesh_service_new.h" 41#include "gnunet_mesh_service.h"
42#include "gnunet_signatures.h" 42#include "gnunet_signatures.h"
43 43
44struct GNUNET_MESH_Handle *mesh_handle; 44struct GNUNET_MESH_Handle *mesh_handle;