[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33663 - gnunet/src/ats-tool
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33663 - gnunet/src/ats-tool |
Date: |
Mon, 16 Jun 2014 10:00:19 +0200 |
Author: grothoff
Date: 2014-06-16 10:00:19 +0200 (Mon, 16 Jun 2014)
New Revision: 33663
Modified:
gnunet/src/ats-tool/gnunet-ats.c
Log:
-doxygen, indentation
Modified: gnunet/src/ats-tool/gnunet-ats.c
===================================================================
--- gnunet/src/ats-tool/gnunet-ats.c 2014-06-16 07:58:28 UTC (rev 33662)
+++ gnunet/src/ats-tool/gnunet-ats.c 2014-06-16 08:00:19 UTC (rev 33663)
@@ -284,13 +284,31 @@
}
+/**
+ * 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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33663 - gnunet/src/ats-tool,
gnunet <=