doxygen comments, last commit of bugfixes (hopefully)
authorNathan S. Evans <evans@in.tum.de>
Tue, 21 Dec 2010 14:59:21 +0000 (14:59 +0000)
committerNathan S. Evans <evans@in.tum.de>
Tue, 21 Dec 2010 14:59:21 +0000 (14:59 +0000)
src/dht/gnunet-dht-driver.c
src/dht/gnunet-service-dht.c
src/dv/gnunet-service-dv.c
src/testing/testing_group.c

index bfab4a38876ec49ac8ee4948863be97b2c1c2293..d0642630c69b27c97b6b04568a1e2b045c188889 100644 (file)
@@ -1561,7 +1561,7 @@ static void churn_complete (void *cls, const char *emsg)
  * requests once the new peers have done so.
  *
  * @param cls closure (unused)
- * @param cls task context (unused)
+ * @param tc task context (unused)
  */
 static void
 churn_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc)
index bb23153edf24d34259f92b8a0c8bcfc93030d204..cbcc88e8074e6c1f4c42acc2eaaa4780e8b04b0f 100644 (file)
@@ -1829,8 +1829,7 @@ schedule_ping_messages ()
  *
  * @param peer the peer identity of the peer being added
  * @param bucket the bucket that we want this peer to go in
- * @param latency transport latency of this peer
- * @param distance transport distance to this peer
+ * @param atsi transport ATS information
  *
  * @return NULL if the peer was not added,
  *         pointer to PeerInfo for new peer otherwise
@@ -3176,6 +3175,7 @@ compare_peers (const void *p1, const void *p2)
  *
  * @param target the key we are selecting a peer to route to
  * @param bloom a bloomfilter containing entries this request has seen already
+ * @param hops how many hops has this message traversed thus far
  *
  * @return Peer to route to, or NULL on error
  */
@@ -4600,6 +4600,11 @@ handle_dht_local_route_stop (void *cls, struct GNUNET_SERVER_Client *client,
 
 /**
  * Core handler for p2p route requests.
+ *
+ * @param cls closure
+ * @param peer peer identity this notification is about
+ * @param atsi performance data
+ *
  */
 static int
 handle_dht_p2p_route_request (void *cls,
@@ -4698,6 +4703,11 @@ handle_dht_p2p_route_request (void *cls,
 
 /**
  * Core handler for p2p route results.
+ *
+ * @param cls closure
+ * @param peer peer identity this notification is about
+ * @param atsi performance data
+ *
  */
 static int
 handle_dht_p2p_route_result (void *cls,
index 0ef8d48f7c05a7c88edc8605b6b38143fb638d4e..cd54686f3433e7b67a07e284afe34b022652631e 100644 (file)
@@ -1347,8 +1347,7 @@ get_atsi_latency (const struct GNUNET_TRANSPORT_ATS_Information *atsi)
  * @param cls closure
  * @param peer peer which sent the message (immediate sender)
  * @param message the message
- * @param latency the latency of the connection we received the message from
- * @param distance the distance to the immediate peer
+ * @param atsi transport ATS information (latency, distance, etc.)
  */
 static int 
 handle_dv_data_message (void *cls,
index 4163c3d2eabdb8e8bd414dddde78fc3dff91c50e..32bcf4294f827772859359e72d8eda07e8822c28 100644 (file)
@@ -2505,6 +2505,9 @@ copy_allowed_topology (struct GNUNET_TESTING_PeerGroup *pg)
  * of each peer in the peer group
  *
  * @param pg the peer group we are dealing with
+ * @param notify_callback callback to notify when finished
+ * @param notify_cls closure for notify callback
+ *
  * @return the number of connections that will be attempted
  */
 static int