aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rps/Makefile.am10
-rw-r--r--src/rps/gnunet-service-rps.c2
-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 d5a081a2b2..48d346aef4 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 0073ad9bd4..f3fb37c681 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
index ffc616bc75..b88de82853 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 <inttypes.h>
#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
index d1d1302060..f339b841de 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
index 43d9362009..f88842b791 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 <platform.h>
-#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 */