diff options
-rw-r--r-- | src/dht/Makefile.am | 50 | ||||
-rw-r--r-- | src/dht/dht.h (renamed from src/dht/dht_new.h) | 0 | ||||
-rw-r--r-- | src/dht/dht_api.c (renamed from src/dht/dht_api_new.c) | 4 | ||||
-rw-r--r-- | src/dht/gnunet-dht-get.c | 2 | ||||
-rw-r--r-- | src/dht/gnunet-dht-put.c | 2 | ||||
-rw-r--r-- | src/dht/gnunet-service-dht.c (renamed from src/dht/gnunet-service-dht-new.c) | 2 | ||||
-rw-r--r-- | src/dht/gnunet-service-dht_clients.c | 2 | ||||
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_api.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_get_put.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_put_get.c | 2 |
12 files changed, 37 insertions, 35 deletions
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am index d6045112b..5a111433c 100644 --- a/src/dht/Makefile.am +++ b/src/dht/Makefile.am | |||
@@ -15,32 +15,32 @@ if USE_COVERAGE | |||
15 | endif | 15 | endif |
16 | 16 | ||
17 | lib_LTLIBRARIES = \ | 17 | lib_LTLIBRARIES = \ |
18 | libgnunetdhtnew.la | 18 | libgnunetdht.la |
19 | 19 | ||
20 | 20 | ||
21 | libgnunetdhtnew_la_SOURCES = \ | 21 | libgnunetdht_la_SOURCES = \ |
22 | dht_api_new.c dht_new.h | 22 | dht_api.c dht.h |
23 | libgnunetdhtnew_la_LIBADD = \ | 23 | libgnunetdht_la_LIBADD = \ |
24 | $(top_builddir)/src/util/libgnunetutil.la \ | 24 | $(top_builddir)/src/util/libgnunetutil.la \ |
25 | $(XLIB) | 25 | $(XLIB) |
26 | libgnunetdhtnew_la_LDFLAGS = \ | 26 | libgnunetdht_la_LDFLAGS = \ |
27 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | 27 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ |
28 | -version-info 0:0:0 | 28 | -version-info 0:0:0 |
29 | 29 | ||
30 | bin_PROGRAMS = \ | 30 | bin_PROGRAMS = \ |
31 | gnunet-service-dht-new \ | 31 | gnunet-service-dht \ |
32 | gnunet-dht-get \ | 32 | gnunet-dht-get \ |
33 | gnunet-dht-put | 33 | gnunet-dht-put |
34 | 34 | ||
35 | gnunet_service_dht_new_SOURCES = \ | 35 | gnunet_service_dht_SOURCES = \ |
36 | gnunet-service-dht-new.c gnunet-service-dht.h \ | 36 | gnunet-service-dht.c gnunet-service-dht.h \ |
37 | gnunet-service-dht_clients.c gnunet-service-dht_clients.h \ | 37 | gnunet-service-dht_clients.c gnunet-service-dht_clients.h \ |
38 | gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \ | 38 | gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \ |
39 | gnunet-service-dht_hello.c gnunet-service-dht_hello.h \ | 39 | gnunet-service-dht_hello.c gnunet-service-dht_hello.h \ |
40 | gnunet-service-dht_nse.c gnunet-service-dht_nse.h \ | 40 | gnunet-service-dht_nse.c gnunet-service-dht_nse.h \ |
41 | gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \ | 41 | gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \ |
42 | gnunet-service-dht_routing.c gnunet-service-dht_routing.h | 42 | gnunet-service-dht_routing.c gnunet-service-dht_routing.h |
43 | gnunet_service_dht_new_LDADD = \ | 43 | gnunet_service_dht_LDADD = \ |
44 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 44 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
45 | $(top_builddir)/src/core/libgnunetcore.la \ | 45 | $(top_builddir)/src/core/libgnunetcore.la \ |
46 | $(top_builddir)/src/nse/libgnunetnse.la \ | 46 | $(top_builddir)/src/nse/libgnunetnse.la \ |
@@ -55,7 +55,7 @@ gnunet_service_dht_new_LDADD = \ | |||
55 | gnunet_dht_get_SOURCES = \ | 55 | gnunet_dht_get_SOURCES = \ |
56 | gnunet-dht-get.c | 56 | gnunet-dht-get.c |
57 | gnunet_dht_get_LDADD = \ | 57 | gnunet_dht_get_LDADD = \ |
58 | $(top_builddir)/src/dht/libgnunetdhtnew.la \ | 58 | $(top_builddir)/src/dht/libgnunetdht.la \ |
59 | $(top_builddir)/src/core/libgnunetcore.la \ | 59 | $(top_builddir)/src/core/libgnunetcore.la \ |
60 | $(top_builddir)/src/util/libgnunetutil.la | 60 | $(top_builddir)/src/util/libgnunetutil.la |
61 | gnunet_dht_get_DEPENDENCIES = \ | 61 | gnunet_dht_get_DEPENDENCIES = \ |
@@ -64,7 +64,7 @@ gnunet_dht_get_DEPENDENCIES = \ | |||
64 | gnunet_dht_put_SOURCES = \ | 64 | gnunet_dht_put_SOURCES = \ |
65 | gnunet-dht-put.c | 65 | gnunet-dht-put.c |
66 | gnunet_dht_put_LDADD = \ | 66 | gnunet_dht_put_LDADD = \ |
67 | $(top_builddir)/src/dht/libgnunetdhtnew.la \ | 67 | $(top_builddir)/src/dht/libgnunetdht.la \ |
68 | $(top_builddir)/src/core/libgnunetcore.la \ | 68 | $(top_builddir)/src/core/libgnunetcore.la \ |
69 | $(top_builddir)/src/util/libgnunetutil.la | 69 | $(top_builddir)/src/util/libgnunetutil.la |
70 | gnunet_dht_put_DEPENDENCIES = \ | 70 | gnunet_dht_put_DEPENDENCIES = \ |
@@ -92,25 +92,16 @@ test_dht_api_SOURCES = \ | |||
92 | test_dht_api_LDADD = \ | 92 | test_dht_api_LDADD = \ |
93 | $(top_builddir)/src/util/libgnunetutil.la \ | 93 | $(top_builddir)/src/util/libgnunetutil.la \ |
94 | $(top_builddir)/src/hello/libgnunethello.la \ | 94 | $(top_builddir)/src/hello/libgnunethello.la \ |
95 | $(top_builddir)/src/dht/libgnunetdhtnew.la | 95 | $(top_builddir)/src/dht/libgnunetdht.la |
96 | test_dht_api_DEPENDENCIES = \ | 96 | test_dht_api_DEPENDENCIES = \ |
97 | libgnunetdht.la | 97 | libgnunetdht.la |
98 | 98 | ||
99 | test_dht_multipeer_SOURCES = \ | ||
100 | test_dht_multipeer.c | ||
101 | test_dht_multipeer_LDADD = \ | ||
102 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
103 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
104 | $(top_builddir)/src/dht/libgnunetdht.la | ||
105 | test_dht_multipeer_DEPENDENCIES = \ | ||
106 | libgnunetdht.la | ||
107 | |||
108 | test_dht_twopeer_SOURCES = \ | 99 | test_dht_twopeer_SOURCES = \ |
109 | test_dht_twopeer.c | 100 | test_dht_twopeer.c |
110 | test_dht_twopeer_LDADD = \ | 101 | test_dht_twopeer_LDADD = \ |
111 | $(top_builddir)/src/util/libgnunetutil.la \ | 102 | $(top_builddir)/src/util/libgnunetutil.la \ |
112 | $(top_builddir)/src/testing/libgnunettesting.la \ | 103 | $(top_builddir)/src/testing/libgnunettesting.la \ |
113 | $(top_builddir)/src/dht/libgnunetdhtnew.la | 104 | $(top_builddir)/src/dht/libgnunetdht.la |
114 | test_dht_twopeer_DEPENDENCIES = \ | 105 | test_dht_twopeer_DEPENDENCIES = \ |
115 | libgnunetdht.la | 106 | libgnunetdht.la |
116 | 107 | ||
@@ -119,14 +110,14 @@ test_dht_twopeer_put_get_SOURCES = \ | |||
119 | test_dht_twopeer_put_get_LDADD = \ | 110 | test_dht_twopeer_put_get_LDADD = \ |
120 | $(top_builddir)/src/util/libgnunetutil.la \ | 111 | $(top_builddir)/src/util/libgnunetutil.la \ |
121 | $(top_builddir)/src/testing/libgnunettesting.la \ | 112 | $(top_builddir)/src/testing/libgnunettesting.la \ |
122 | $(top_builddir)/src/dht/libgnunetdhtnew.la | 113 | $(top_builddir)/src/dht/libgnunetdht.la |
123 | 114 | ||
124 | test_dht_twopeer_get_put_SOURCES = \ | 115 | test_dht_twopeer_get_put_SOURCES = \ |
125 | test_dht_twopeer_get_put.c | 116 | test_dht_twopeer_get_put.c |
126 | test_dht_twopeer_get_put_LDADD = \ | 117 | test_dht_twopeer_get_put_LDADD = \ |
127 | $(top_builddir)/src/util/libgnunetutil.la \ | 118 | $(top_builddir)/src/util/libgnunetutil.la \ |
128 | $(top_builddir)/src/testing/libgnunettesting.la \ | 119 | $(top_builddir)/src/testing/libgnunettesting.la \ |
129 | $(top_builddir)/src/dht/libgnunetdhtnew.la | 120 | $(top_builddir)/src/dht/libgnunetdht.la |
130 | 121 | ||
131 | test_dht_twopeer_path_tracking_SOURCES = \ | 122 | test_dht_twopeer_path_tracking_SOURCES = \ |
132 | test_dht_twopeer_path_tracking.c | 123 | test_dht_twopeer_path_tracking.c |
@@ -135,6 +126,17 @@ test_dht_twopeer_path_tracking_LDADD = \ | |||
135 | $(top_builddir)/src/testing/libgnunettesting.la \ | 126 | $(top_builddir)/src/testing/libgnunettesting.la \ |
136 | $(top_builddir)/src/dht/libgnunetdht.la | 127 | $(top_builddir)/src/dht/libgnunetdht.la |
137 | 128 | ||
129 | test_dht_multipeer_SOURCES = \ | ||
130 | test_dht_multipeer.c | ||
131 | test_dht_multipeer_LDADD = \ | ||
132 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
133 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
134 | $(top_builddir)/src/dht/libgnunetdht.la | ||
135 | test_dht_multipeer_DEPENDENCIES = \ | ||
136 | libgnunetdht.la | ||
137 | |||
138 | |||
139 | |||
138 | EXTRA_DIST = \ | 140 | EXTRA_DIST = \ |
139 | $(check_SCRIPTS) \ | 141 | $(check_SCRIPTS) \ |
140 | test_dht_api_data.conf \ | 142 | test_dht_api_data.conf \ |
diff --git a/src/dht/dht_new.h b/src/dht/dht.h index c8e2baff1..c8e2baff1 100644 --- a/src/dht/dht_new.h +++ b/src/dht/dht.h | |||
diff --git a/src/dht/dht_api_new.c b/src/dht/dht_api.c index 7d817acd7..2e89cf3eb 100644 --- a/src/dht/dht_api_new.c +++ b/src/dht/dht_api.c | |||
@@ -31,8 +31,8 @@ | |||
31 | #include "gnunet_arm_service.h" | 31 | #include "gnunet_arm_service.h" |
32 | #include "gnunet_hello_lib.h" | 32 | #include "gnunet_hello_lib.h" |
33 | #include "gnunet_protocols.h" | 33 | #include "gnunet_protocols.h" |
34 | #include "gnunet_dht_service_new.h" | 34 | #include "gnunet_dht_service.h" |
35 | #include "dht_new.h" | 35 | #include "dht.h" |
36 | 36 | ||
37 | #define DEBUG_DHT_API GNUNET_NO | 37 | #define DEBUG_DHT_API GNUNET_NO |
38 | 38 | ||
diff --git a/src/dht/gnunet-dht-get.c b/src/dht/gnunet-dht-get.c index 0d291e5e7..8720e76aa 100644 --- a/src/dht/gnunet-dht-get.c +++ b/src/dht/gnunet-dht-get.c | |||
@@ -24,7 +24,7 @@ | |||
24 | * @author Nathan Evans | 24 | * @author Nathan Evans |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "gnunet_dht_service_new.h" | 27 | #include "gnunet_dht_service.h" |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * The type of the query | 30 | * The type of the query |
diff --git a/src/dht/gnunet-dht-put.c b/src/dht/gnunet-dht-put.c index 727eebe63..f165aa4a4 100644 --- a/src/dht/gnunet-dht-put.c +++ b/src/dht/gnunet-dht-put.c | |||
@@ -24,7 +24,7 @@ | |||
24 | * @author Nathan Evans | 24 | * @author Nathan Evans |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "gnunet_dht_service_new.h" | 27 | #include "gnunet_dht_service.h" |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * The type of the query | 30 | * The type of the query |
diff --git a/src/dht/gnunet-service-dht-new.c b/src/dht/gnunet-service-dht.c index e38fda7cf..3e0f3c8d9 100644 --- a/src/dht/gnunet-service-dht-new.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
30 | #include "gnunet_transport_service.h" | 30 | #include "gnunet_transport_service.h" |
31 | #include "gnunet_hello_lib.h" | 31 | #include "gnunet_hello_lib.h" |
32 | #include "gnunet_dht_service_new.h" | 32 | #include "gnunet_dht_service.h" |
33 | #include "gnunet_statistics_service.h" | 33 | #include "gnunet_statistics_service.h" |
34 | #include "gnunet-service-dht.h" | 34 | #include "gnunet-service-dht.h" |
35 | #include "gnunet-service-dht_clients.h" | 35 | #include "gnunet-service-dht_clients.h" |
diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c index ebbde14b8..25687d570 100644 --- a/src/dht/gnunet-service-dht_clients.c +++ b/src/dht/gnunet-service-dht_clients.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include "gnunet-service-dht_clients.h" | 32 | #include "gnunet-service-dht_clients.h" |
33 | #include "gnunet-service-dht_datacache.h" | 33 | #include "gnunet-service-dht_datacache.h" |
34 | #include "gnunet-service-dht_neighbours.h" | 34 | #include "gnunet-service-dht_neighbours.h" |
35 | #include "dht_new.h" | 35 | #include "dht.h" |
36 | 36 | ||
37 | 37 | ||
38 | /** | 38 | /** |
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 80efd5d40..0622533f5 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include "gnunet_datacache_lib.h" | 36 | #include "gnunet_datacache_lib.h" |
37 | #include "gnunet_transport_service.h" | 37 | #include "gnunet_transport_service.h" |
38 | #include "gnunet_hello_lib.h" | 38 | #include "gnunet_hello_lib.h" |
39 | #include "gnunet_dht_service_new.h" | 39 | #include "gnunet_dht_service.h" |
40 | #include "gnunet_statistics_service.h" | 40 | #include "gnunet_statistics_service.h" |
41 | #include "gnunet-service-dht.h" | 41 | #include "gnunet-service-dht.h" |
42 | #include "gnunet-service-dht_clients.h" | 42 | #include "gnunet-service-dht_clients.h" |
diff --git a/src/dht/test_dht_api.c b/src/dht/test_dht_api.c index c56fab27c..87e08d840 100644 --- a/src/dht/test_dht_api.c +++ b/src/dht/test_dht_api.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "gnunet_os_lib.h" | 31 | #include "gnunet_os_lib.h" |
32 | #include "gnunet_program_lib.h" | 32 | #include "gnunet_program_lib.h" |
33 | #include "gnunet_scheduler_lib.h" | 33 | #include "gnunet_scheduler_lib.h" |
34 | #include "gnunet_dht_service_new.h" | 34 | #include "gnunet_dht_service.h" |
35 | #include "gnunet_hello_lib.h" | 35 | #include "gnunet_hello_lib.h" |
36 | 36 | ||
37 | #define VERBOSE GNUNET_NO | 37 | #define VERBOSE GNUNET_NO |
diff --git a/src/dht/test_dht_twopeer.c b/src/dht/test_dht_twopeer.c index 3331eb011..21e817c85 100644 --- a/src/dht/test_dht_twopeer.c +++ b/src/dht/test_dht_twopeer.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "gnunet_testing_lib.h" | 26 | #include "gnunet_testing_lib.h" |
27 | #include "gnunet_core_service.h" | 27 | #include "gnunet_core_service.h" |
28 | #include "gnunet_dht_service_new.h" | 28 | #include "gnunet_dht_service.h" |
29 | 29 | ||
30 | /* DEFINES */ | 30 | /* DEFINES */ |
31 | #define VERBOSE GNUNET_NO | 31 | #define VERBOSE GNUNET_NO |
diff --git a/src/dht/test_dht_twopeer_get_put.c b/src/dht/test_dht_twopeer_get_put.c index 100f964cf..86ce546cc 100644 --- a/src/dht/test_dht_twopeer_get_put.c +++ b/src/dht/test_dht_twopeer_get_put.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include "platform.h" | 39 | #include "platform.h" |
40 | #include "gnunet_testing_lib.h" | 40 | #include "gnunet_testing_lib.h" |
41 | #include "gnunet_core_service.h" | 41 | #include "gnunet_core_service.h" |
42 | #include "gnunet_dht_service_new.h" | 42 | #include "gnunet_dht_service.h" |
43 | #include "block_dns.h" | 43 | #include "block_dns.h" |
44 | #include "gnunet_signatures.h" | 44 | #include "gnunet_signatures.h" |
45 | 45 | ||
diff --git a/src/dht/test_dht_twopeer_put_get.c b/src/dht/test_dht_twopeer_put_get.c index ccb421cae..197a05006 100644 --- a/src/dht/test_dht_twopeer_put_get.c +++ b/src/dht/test_dht_twopeer_put_get.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include "platform.h" | 39 | #include "platform.h" |
40 | #include "gnunet_testing_lib.h" | 40 | #include "gnunet_testing_lib.h" |
41 | #include "gnunet_core_service.h" | 41 | #include "gnunet_core_service.h" |
42 | #include "gnunet_dht_service_new.h" | 42 | #include "gnunet_dht_service.h" |
43 | #include "block_dns.h" | 43 | #include "block_dns.h" |
44 | #include "gnunet_signatures.h" | 44 | #include "gnunet_signatures.h" |
45 | 45 | ||