aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet_dht_profiler.c
diff options
context:
space:
mode:
authorSupriti Singh <supritisingh08@gmail.com>2014-09-05 12:36:34 +0000
committerSupriti Singh <supritisingh08@gmail.com>2014-09-05 12:36:34 +0000
commitab98625d6e8f82dc7c897c48081b0f1fef947f8d (patch)
tree5e9dadb5a3945f416310fe40ff888adab43a21b8 /src/dht/gnunet_dht_profiler.c
parentebb5527954a8e214324d76f0c1c181cab3c51170 (diff)
downloadgnunet-ab98625d6e8f82dc7c897c48081b0f1fef947f8d.tar.gz
gnunet-ab98625d6e8f82dc7c897c48081b0f1fef947f8d.zip
Removing r5n profiler, using the same profiler for both x-vine and r5n
Diffstat (limited to 'src/dht/gnunet_dht_profiler.c')
-rw-r--r--src/dht/gnunet_dht_profiler.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dht/gnunet_dht_profiler.c b/src/dht/gnunet_dht_profiler.c
index c5475c604..27aa892fa 100644
--- a/src/dht/gnunet_dht_profiler.c
+++ b/src/dht/gnunet_dht_profiler.c
@@ -63,6 +63,11 @@ static char *hosts_file;
63struct ActiveContext; 63struct ActiveContext;
64 64
65/** 65/**
66 * Context for a peer which should act maliciously.
67 */
68struct MaliciousContext;
69
70/**
66 * Context to hold data of peer 71 * Context to hold data of peer
67 */ 72 */
68struct Context 73struct Context
@@ -82,6 +87,13 @@ struct Context
82 * Active context; NULL if this peer is not an active peer 87 * Active context; NULL if this peer is not an active peer
83 */ 88 */
84 struct ActiveContext *ac; 89 struct ActiveContext *ac;
90
91#if ENABLE_MALICIOUS
92 /**
93 * Malicious context; NULL if this peer is NOT malicious.
94 */
95 struct MaliciousContext *mc;
96#endif
85}; 97};
86 98
87 99