-doxygen, indentation
authorChristian Grothoff <christian@grothoff.org>
Mon, 16 Jun 2014 08:00:19 +0000 (08:00 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 16 Jun 2014 08:00:19 +0000 (08:00 +0000)
src/ats-tool/gnunet-ats.c

index 0f6609365af9b2f129269636cd0c492f9072e8bf..766f2fe2abd149012d1f2436710499493519d6b2 100644 (file)
@@ -284,13 +284,31 @@ transport_addr_to_str_cb (void *cls,
 }
 
 
+/**
+ * Closure for #find_address_it().
+ */
 struct AddressFindCtx
 {
+  /**
+   * Address we are looking for.
+   */
   const struct GNUNET_HELLO_Address *src;
+
+  /**
+   * Where to write the `struct ATSAddress` if we found one that matches.
+   */
   struct ATSAddress *res;
 };
 
 
+/**
+ * Find address corresponding to a given peer.
+ *
+ * @param cls the `struct AddressFindCtx`
+ * @param key peer identity
+ * @param value the `struct ATSAddress *` for an existing address
+ * @return #GNUNET_NO if we found a match, #GNUNET_YES if not
+ */
 static int
 find_address_it (void *cls,
                  const struct GNUNET_PeerIdentity *key,