From 3d66c5660bd67adafa44b98d1ffa66a3b1b2f105 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Wed, 22 Aug 2012 14:47:12 +0000 Subject: [PATCH] -doxygen --- src/dns/dnsstub.c | 1 + src/gns/gnunet-dns2gns.c | 5 +++-- src/include/gns_protocol.h | 2 +- src/include/gnunet_dnsstub_lib.h | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/dns/dnsstub.c b/src/dns/dnsstub.c index 2cb62447c..0c3bf0ef3 100644 --- a/src/dns/dnsstub.c +++ b/src/dns/dnsstub.c @@ -193,6 +193,7 @@ read_response (void *cls, * Get a socket of the specified address family to send out a * UDP DNS request to the Internet. * + * @param ctx the DNSSTUB context * @param af desired address family * @return NULL on error (given AF not "supported") */ diff --git a/src/gns/gnunet-dns2gns.c b/src/gns/gnunet-dns2gns.c index 5676471b8..7d44ceacb 100644 --- a/src/gns/gnunet-dns2gns.c +++ b/src/gns/gnunet-dns2gns.c @@ -224,8 +224,9 @@ do_timeout (void *cls, * lookup * * @param cls closure - * @param rd_count number of records - * @param rd the records in reply + * @param rs the request socket + * @param dns the DNS udp payload + * @param r size of the DNS payload */ static void dns_result_processor (void *cls, diff --git a/src/include/gns_protocol.h b/src/include/gns_protocol.h index b5e6f33e1..ad80f85ff 100644 --- a/src/include/gns_protocol.h +++ b/src/include/gns_protocol.h @@ -19,7 +19,7 @@ */ /** - * @file gns/gns_records.h + * @file gns/gns_protocol.h * @brief Resource Record definitions * @author Martin Schanzenbach */ diff --git a/src/include/gnunet_dnsstub_lib.h b/src/include/gnunet_dnsstub_lib.h index ffe82dbbe..3c4206f99 100644 --- a/src/include/gnunet_dnsstub_lib.h +++ b/src/include/gnunet_dnsstub_lib.h @@ -77,7 +77,8 @@ typedef void (*GNUNET_DNSSTUB_ResultCallback)(void *cls, * Perform DNS resolution using given address. * * @param ctx stub resolver to use - * @param af address family to use + * @param sa the socket address + * @param sa_len the socket length * @param request DNS request to transmit * @param request_len number of bytes in msg * @param rc function to call with result -- 2.25.1