aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_neighbours.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-04-19 15:22:23 +0000
committerBart Polot <bart@net.in.tum.de>2012-04-19 15:22:23 +0000
commit44b9867d329a7046a4c9c3ac5628847e174abb9d (patch)
treef422a77a07f76d7d1675218af8071e365a38b188 /src/dht/gnunet-service-dht_neighbours.c
parentadf272d3c8a1620dbf6e49b1c57f5c0400487426 (diff)
downloadgnunet-44b9867d329a7046a4c9c3ac5628847e174abb9d.tar.gz
gnunet-44b9867d329a7046a4c9c3ac5628847e174abb9d.zip
- Add local DHT request to the monitoring results
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c
index 4ea5dd6f4..e7c1fbee3 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -1826,6 +1826,7 @@ handle_dht_p2p_get (void *cls, const struct GNUNET_PeerIdentity *peer,
1826 1, GNUNET_NO); 1826 1, GNUNET_NO);
1827 } 1827 }
1828 1828
1829 /* FIXME Path */
1829 GDS_CLIENTS_process_monitor (GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET, 1830 GDS_CLIENTS_process_monitor (GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET,
1830 GNUNET_TIME_UNIT_FOREVER_ABS, &get->key, 0, NULL, 0, NULL, 1831 GNUNET_TIME_UNIT_FOREVER_ABS, &get->key, 0, NULL, 0, NULL,
1831 ntohl (get->desired_replication_level), type, NULL, 0); 1832 ntohl (get->desired_replication_level), type, NULL, 0);
@@ -2025,5 +2026,16 @@ GDS_NEIGHBOURS_done ()
2025 } 2026 }
2026} 2027}
2027 2028
2029/**
2030 * Get the ID of the local node.
2031 *
2032 * @return identity of the local node
2033 */
2034struct GNUNET_PeerIdentity *
2035GDS_NEIGHBOURS_get_id ()
2036{
2037 return &my_identity;
2038}
2039
2028 2040
2029/* end of gnunet-service-dht_neighbours.c */ 2041/* end of gnunet-service-dht_neighbours.c */