From 5c72cf0b8a2ab24254ec9e14d7149a05332eb475 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20B=C3=BCnger?= Date: Tue, 1 Dec 2015 18:25:32 +0000 Subject: [PATCH] -rename _peers.* -> _custommap.* MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Bünger --- src/rps/Makefile.am | 10 +++++----- src/rps/gnunet-service-rps.c | 2 +- ...vice-rps_peers.c => gnunet-service-rps_custommap.c} | 6 +++--- ...vice-rps_peers.h => gnunet-service-rps_custommap.h} | 4 ++-- ...ervice_rps_peers.c => test_service_rps_custommap.c} | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) rename src/rps/{gnunet-service-rps_peers.c => gnunet-service-rps_custommap.c} (98%) rename src/rps/{gnunet-service-rps_peers.h => gnunet-service-rps_custommap.h} (98%) rename src/rps/{test_service_rps_peers.c => test_service_rps_custommap.c} (97%) 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 gnunet_service_rps_SOURCES = \ gnunet-service-rps_sampler_elem.h gnunet-service-rps_sampler_elem.c \ gnunet-service-rps_sampler.h gnunet-service-rps_sampler.c \ - gnunet-service-rps_peers.h gnunet-service-rps_peers.c \ + gnunet-service-rps_custommap.h gnunet-service-rps_custommap.c \ gnunet-service-rps_view.h gnunet-service-rps_view.c \ rps-test_util.h rps-test_util.c \ gnunet-service-rps.c @@ -71,7 +71,7 @@ gnunet_service_rps_LDADD = \ if HAVE_TESTING check_PROGRAMS = \ test_service_rps_view \ - test_service_rps_peers \ + test_service_rps_custommap \ test_rps_malicious_1 \ test_rps_malicious_2 \ test_rps_malicious_3 \ @@ -101,9 +101,9 @@ test_service_rps_view_SOURCES = gnunet-service-rps_view.h gnunet-service-rps_vie test_service_rps_view.c test_service_rps_view_LDADD = $(top_builddir)/src/util/libgnunetutil.la -test_service_rps_peers_SOURCES = gnunet-service-rps_peers.h gnunet-service-rps_peers.c \ - test_service_rps_peers.c -test_service_rps_peers_LDADD = $(top_builddir)/src/util/libgnunetutil.la +test_service_rps_custommap_SOURCES = gnunet-service-rps_custommap.h gnunet-service-rps_custommap.c \ + test_service_rps_custommap.c +test_service_rps_custommap_LDADD = $(top_builddir)/src/util/libgnunetutil.la test_rps_malicious_1_SOURCES = $(rps_test_src) 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 @@ #include "gnunet_peerinfo_service.h" #include "gnunet_nse_service.h" #include "rps.h" -#include "gnunet-service-rps_peers.h" +#include "gnunet-service-rps_custommap.h" #include "gnunet-service-rps_view.h" #include "rps-test_util.h" diff --git a/src/rps/gnunet-service-rps_peers.c b/src/rps/gnunet-service-rps_custommap.c similarity index 98% rename from src/rps/gnunet-service-rps_peers.c rename to 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 @@ */ /** - * @file rps/gnunet-service-rps_peers.c + * @file rps/gnunet-service-rps_custommap.c * @brief utilities for managing (information about) peers * @author Julius Bünger */ #include "platform.h" #include "gnunet_util_lib.h" -#include "gnunet-service-rps_peers.h" +#include "gnunet-service-rps_custommap.h" #include #define LOG(kind, ...) GNUNET_log_from(kind,"rps-peers",__VA_ARGS__) @@ -314,4 +314,4 @@ CustomPeerMap_destroy (struct CustomPeerMap *c_peer_map) GNUNET_free (c_peer_map); } -/* end of gnunet-service-rps_peers.c */ +/* 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 similarity index 98% rename from src/rps/gnunet-service-rps_peers.h rename to 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 @@ */ /** - * @file rps/gnunet-service-rps_peers.c + * @file rps/gnunet-service-rps_custommap.h * @brief utilities for managing (information about) peers * @author Julius Bünger */ @@ -156,4 +156,4 @@ CustomPeerMap_clear (const struct CustomPeerMap *c_peer_map); void CustomPeerMap_destroy (struct CustomPeerMap *c_peer_map); -/* end of gnunet-service-rps_peers.c */ +/* 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 similarity index 97% rename from src/rps/test_service_rps_peers.c rename to 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 @@ Boston, MA 02110-1301, USA. */ /** - * @file rps/test_service_rps_peers.c + * @file rps/test_service_rps_custommap.c * @brief testcase for gnunet-service-rps_peers.c */ #include -#include "gnunet-service-rps_peers.h" +#include "gnunet-service-rps_custommap.h" #define ABORT() { fprintf(stderr, "Error at %s:%d\n", __FILE__, __LINE__); if (NULL != c_m) CustomPeerMap_destroy(c_m); return 1; } #define CHECK(c) { if (! (c)) ABORT(); } @@ -120,4 +120,4 @@ main (int argc, char *argv[]) return check (); } -/* end of test_rps_api.c */ +/* end of test_service_rps_custommap.c */ -- 2.25.1