diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-12-21 14:59:21 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-12-21 14:59:21 +0000 |
commit | 2dd7fb0972aee40eb8f4283e7d4c74415a703ab6 (patch) | |
tree | a883ad8b2a35dbd85ae3a7d427fb4e9fd1e12412 /src/dht/gnunet-service-dht.c | |
parent | 6a8a1fc8bc5ed304a22c54ce7c4770811a444919 (diff) | |
download | gnunet-2dd7fb0972aee40eb8f4283e7d4c74415a703ab6.tar.gz gnunet-2dd7fb0972aee40eb8f4283e7d4c74415a703ab6.zip |
doxygen comments, last commit of bugfixes (hopefully)
Diffstat (limited to 'src/dht/gnunet-service-dht.c')
-rw-r--r-- | src/dht/gnunet-service-dht.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index bb23153ed..cbcc88e80 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -1829,8 +1829,7 @@ schedule_ping_messages () | |||
1829 | * | 1829 | * |
1830 | * @param peer the peer identity of the peer being added | 1830 | * @param peer the peer identity of the peer being added |
1831 | * @param bucket the bucket that we want this peer to go in | 1831 | * @param bucket the bucket that we want this peer to go in |
1832 | * @param latency transport latency of this peer | 1832 | * @param atsi transport ATS information |
1833 | * @param distance transport distance to this peer | ||
1834 | * | 1833 | * |
1835 | * @return NULL if the peer was not added, | 1834 | * @return NULL if the peer was not added, |
1836 | * pointer to PeerInfo for new peer otherwise | 1835 | * pointer to PeerInfo for new peer otherwise |
@@ -3176,6 +3175,7 @@ compare_peers (const void *p1, const void *p2) | |||
3176 | * | 3175 | * |
3177 | * @param target the key we are selecting a peer to route to | 3176 | * @param target the key we are selecting a peer to route to |
3178 | * @param bloom a bloomfilter containing entries this request has seen already | 3177 | * @param bloom a bloomfilter containing entries this request has seen already |
3178 | * @param hops how many hops has this message traversed thus far | ||
3179 | * | 3179 | * |
3180 | * @return Peer to route to, or NULL on error | 3180 | * @return Peer to route to, or NULL on error |
3181 | */ | 3181 | */ |
@@ -4600,6 +4600,11 @@ handle_dht_local_route_stop (void *cls, struct GNUNET_SERVER_Client *client, | |||
4600 | 4600 | ||
4601 | /** | 4601 | /** |
4602 | * Core handler for p2p route requests. | 4602 | * Core handler for p2p route requests. |
4603 | * | ||
4604 | * @param cls closure | ||
4605 | * @param peer peer identity this notification is about | ||
4606 | * @param atsi performance data | ||
4607 | * | ||
4603 | */ | 4608 | */ |
4604 | static int | 4609 | static int |
4605 | handle_dht_p2p_route_request (void *cls, | 4610 | handle_dht_p2p_route_request (void *cls, |
@@ -4698,6 +4703,11 @@ handle_dht_p2p_route_request (void *cls, | |||
4698 | 4703 | ||
4699 | /** | 4704 | /** |
4700 | * Core handler for p2p route results. | 4705 | * Core handler for p2p route results. |
4706 | * | ||
4707 | * @param cls closure | ||
4708 | * @param peer peer identity this notification is about | ||
4709 | * @param atsi performance data | ||
4710 | * | ||
4701 | */ | 4711 | */ |
4702 | static int | 4712 | static int |
4703 | handle_dht_p2p_route_result (void *cls, | 4713 | handle_dht_p2p_route_result (void *cls, |