From: Christian Grothoff Date: Mon, 16 Jun 2014 08:00:19 +0000 (+0000) Subject: -doxygen, indentation X-Git-Tag: initial-import-from-subversion-38251~3751 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f42770d1f169be156a830be52669bd49cb600124;p=oweals%2Fgnunet.git -doxygen, indentation --- diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c index 0f6609365..766f2fe2a 100644 --- a/src/ats-tool/gnunet-ats.c +++ b/src/ats-tool/gnunet-ats.c @@ -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,