aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
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 /src/mesh
parent7742b7ee0e7ef2b69228053b1a1685560eb13df4 (diff)
downloadgnunet-302e8874b89fb670a9dfdc5992ac6c9b20f2122d.tar.gz
gnunet-302e8874b89fb670a9dfdc5992ac6c9b20f2122d.zip
making the new mesh the default
Diffstat (limited to 'src/mesh')
-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
9 files changed, 27 insertions, 27 deletions
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