diff options
author | Julius Bünger <buenger@mytum.de> | 2015-12-01 18:25:32 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-12-01 18:25:32 +0000 |
commit | 5c72cf0b8a2ab24254ec9e14d7149a05332eb475 (patch) | |
tree | b9bced612c8085cb87bdbafe1da791b7d8a9b37c /src/rps | |
parent | 27a0b4b9a7e0f80620ba8844a462da49a2928703 (diff) | |
download | gnunet-5c72cf0b8a2ab24254ec9e14d7149a05332eb475.tar.gz gnunet-5c72cf0b8a2ab24254ec9e14d7149a05332eb475.zip |
-rename _peers.* -> _custommap.*
Signed-off-by: Julius Bünger <buenger@mytum.de>
Diffstat (limited to 'src/rps')
-rw-r--r-- | src/rps/Makefile.am | 10 | ||||
-rw-r--r-- | src/rps/gnunet-service-rps.c | 2 | ||||
-rw-r--r-- | src/rps/gnunet-service-rps_custommap.c (renamed from src/rps/gnunet-service-rps_peers.c) | 6 | ||||
-rw-r--r-- | src/rps/gnunet-service-rps_custommap.h (renamed from src/rps/gnunet-service-rps_peers.h) | 4 | ||||
-rw-r--r-- | src/rps/test_service_rps_custommap.c (renamed from src/rps/test_service_rps_peers.c) | 6 |
5 files changed, 14 insertions, 14 deletions
diff --git a/src/rps/Makefile.am b/src/rps/Makefile.am index d5a081a2b..48d346aef 100644 --- a/src/rps/Makefile.am +++ b/src/rps/Makefile.am | |||
@@ -49,7 +49,7 @@ endif | |||
49 | gnunet_service_rps_SOURCES = \ | 49 | gnunet_service_rps_SOURCES = \ |
50 | gnunet-service-rps_sampler_elem.h gnunet-service-rps_sampler_elem.c \ | 50 | gnunet-service-rps_sampler_elem.h gnunet-service-rps_sampler_elem.c \ |
51 | gnunet-service-rps_sampler.h gnunet-service-rps_sampler.c \ | 51 | gnunet-service-rps_sampler.h gnunet-service-rps_sampler.c \ |
52 | gnunet-service-rps_peers.h gnunet-service-rps_peers.c \ | 52 | gnunet-service-rps_custommap.h gnunet-service-rps_custommap.c \ |
53 | gnunet-service-rps_view.h gnunet-service-rps_view.c \ | 53 | gnunet-service-rps_view.h gnunet-service-rps_view.c \ |
54 | rps-test_util.h rps-test_util.c \ | 54 | rps-test_util.h rps-test_util.c \ |
55 | gnunet-service-rps.c | 55 | gnunet-service-rps.c |
@@ -71,7 +71,7 @@ gnunet_service_rps_LDADD = \ | |||
71 | if HAVE_TESTING | 71 | if HAVE_TESTING |
72 | check_PROGRAMS = \ | 72 | check_PROGRAMS = \ |
73 | test_service_rps_view \ | 73 | test_service_rps_view \ |
74 | test_service_rps_peers \ | 74 | test_service_rps_custommap \ |
75 | test_rps_malicious_1 \ | 75 | test_rps_malicious_1 \ |
76 | test_rps_malicious_2 \ | 76 | test_rps_malicious_2 \ |
77 | test_rps_malicious_3 \ | 77 | test_rps_malicious_3 \ |
@@ -101,9 +101,9 @@ test_service_rps_view_SOURCES = gnunet-service-rps_view.h gnunet-service-rps_vie | |||
101 | test_service_rps_view.c | 101 | test_service_rps_view.c |
102 | test_service_rps_view_LDADD = $(top_builddir)/src/util/libgnunetutil.la | 102 | test_service_rps_view_LDADD = $(top_builddir)/src/util/libgnunetutil.la |
103 | 103 | ||
104 | test_service_rps_peers_SOURCES = gnunet-service-rps_peers.h gnunet-service-rps_peers.c \ | 104 | test_service_rps_custommap_SOURCES = gnunet-service-rps_custommap.h gnunet-service-rps_custommap.c \ |
105 | test_service_rps_peers.c | 105 | test_service_rps_custommap.c |
106 | test_service_rps_peers_LDADD = $(top_builddir)/src/util/libgnunetutil.la | 106 | test_service_rps_custommap_LDADD = $(top_builddir)/src/util/libgnunetutil.la |
107 | 107 | ||
108 | test_rps_malicious_1_SOURCES = $(rps_test_src) | 108 | test_rps_malicious_1_SOURCES = $(rps_test_src) |
109 | test_rps_malicious_1_LDADD = $(ld_rps_test_lib) | 109 | test_rps_malicious_1_LDADD = $(ld_rps_test_lib) |
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 0073ad9bd..f3fb37c68 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "gnunet_peerinfo_service.h" | 29 | #include "gnunet_peerinfo_service.h" |
30 | #include "gnunet_nse_service.h" | 30 | #include "gnunet_nse_service.h" |
31 | #include "rps.h" | 31 | #include "rps.h" |
32 | #include "gnunet-service-rps_peers.h" | 32 | #include "gnunet-service-rps_custommap.h" |
33 | #include "gnunet-service-rps_view.h" | 33 | #include "gnunet-service-rps_view.h" |
34 | #include "rps-test_util.h" | 34 | #include "rps-test_util.h" |
35 | 35 | ||
diff --git a/src/rps/gnunet-service-rps_peers.c b/src/rps/gnunet-service-rps_custommap.c index ffc616bc7..b88de8285 100644 --- a/src/rps/gnunet-service-rps_peers.c +++ b/src/rps/gnunet-service-rps_custommap.c | |||
@@ -19,13 +19,13 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file rps/gnunet-service-rps_peers.c | 22 | * @file rps/gnunet-service-rps_custommap.c |
23 | * @brief utilities for managing (information about) peers | 23 | * @brief utilities for managing (information about) peers |
24 | * @author Julius Bünger | 24 | * @author Julius Bünger |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
28 | #include "gnunet-service-rps_peers.h" | 28 | #include "gnunet-service-rps_custommap.h" |
29 | #include <inttypes.h> | 29 | #include <inttypes.h> |
30 | 30 | ||
31 | #define LOG(kind, ...) GNUNET_log_from(kind,"rps-peers",__VA_ARGS__) | 31 | #define LOG(kind, ...) GNUNET_log_from(kind,"rps-peers",__VA_ARGS__) |
@@ -314,4 +314,4 @@ CustomPeerMap_destroy (struct CustomPeerMap *c_peer_map) | |||
314 | GNUNET_free (c_peer_map); | 314 | GNUNET_free (c_peer_map); |
315 | } | 315 | } |
316 | 316 | ||
317 | /* end of gnunet-service-rps_peers.c */ | 317 | /* end of gnunet-service-rps_custommap.c */ |
diff --git a/src/rps/gnunet-service-rps_peers.h b/src/rps/gnunet-service-rps_custommap.h index d1d130206..f339b841d 100644 --- a/src/rps/gnunet-service-rps_peers.h +++ b/src/rps/gnunet-service-rps_custommap.h | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file rps/gnunet-service-rps_peers.c | 22 | * @file rps/gnunet-service-rps_custommap.h |
23 | * @brief utilities for managing (information about) peers | 23 | * @brief utilities for managing (information about) peers |
24 | * @author Julius Bünger | 24 | * @author Julius Bünger |
25 | */ | 25 | */ |
@@ -156,4 +156,4 @@ CustomPeerMap_clear (const struct CustomPeerMap *c_peer_map); | |||
156 | void | 156 | void |
157 | CustomPeerMap_destroy (struct CustomPeerMap *c_peer_map); | 157 | CustomPeerMap_destroy (struct CustomPeerMap *c_peer_map); |
158 | 158 | ||
159 | /* end of gnunet-service-rps_peers.c */ | 159 | /* end of gnunet-service-rps_custommap.h */ |
diff --git a/src/rps/test_service_rps_peers.c b/src/rps/test_service_rps_custommap.c index 43d936200..f88842b79 100644 --- a/src/rps/test_service_rps_peers.c +++ b/src/rps/test_service_rps_custommap.c | |||
@@ -18,11 +18,11 @@ | |||
18 | Boston, MA 02110-1301, USA. | 18 | Boston, MA 02110-1301, USA. |
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @file rps/test_service_rps_peers.c | 21 | * @file rps/test_service_rps_custommap.c |
22 | * @brief testcase for gnunet-service-rps_peers.c | 22 | * @brief testcase for gnunet-service-rps_peers.c |
23 | */ | 23 | */ |
24 | #include <platform.h> | 24 | #include <platform.h> |
25 | #include "gnunet-service-rps_peers.h" | 25 | #include "gnunet-service-rps_custommap.h" |
26 | 26 | ||
27 | #define ABORT() { fprintf(stderr, "Error at %s:%d\n", __FILE__, __LINE__); if (NULL != c_m) CustomPeerMap_destroy(c_m); return 1; } | 27 | #define ABORT() { fprintf(stderr, "Error at %s:%d\n", __FILE__, __LINE__); if (NULL != c_m) CustomPeerMap_destroy(c_m); return 1; } |
28 | #define CHECK(c) { if (! (c)) ABORT(); } | 28 | #define CHECK(c) { if (! (c)) ABORT(); } |
@@ -120,4 +120,4 @@ main (int argc, char *argv[]) | |||
120 | return check (); | 120 | return check (); |
121 | } | 121 | } |
122 | 122 | ||
123 | /* end of test_rps_api.c */ | 123 | /* end of test_service_rps_custommap.c */ |