From 12cc5704dbf8384b7821b576aadf90b9875aee5b Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Mon, 15 Mar 2021 16:24:10 +0100 Subject: net: update incorrect Doxygen documentation in netbase.cpp --- src/netbase.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/netbase.cpp') diff --git a/src/netbase.cpp b/src/netbase.cpp index b95bb05e71..17b030eb70 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -178,7 +178,7 @@ static bool LookupIntern(const std::string& name, std::vector& vIP, un * @returns Whether or not the specified host string successfully resolved to * any resulting network addresses. * - * @see Lookup(const char *, std::vector&, int, bool, unsigned int) + * @see Lookup(const std::string&, std::vector&, int, bool, unsigned int, DNSLookupFn) * for additional parameter descriptions. */ bool LookupHost(const std::string& name, std::vector& vIP, unsigned int nMaxSolutions, bool fAllowLookup, DNSLookupFn dns_lookup_function) @@ -199,8 +199,8 @@ bool LookupHost(const std::string& name, std::vector& vIP, unsigned in /** * Resolve a host string to its first corresponding network address. * - * @see LookupHost(const std::string&, std::vector&, unsigned int, bool) for - * additional parameter descriptions. + * @see LookupHost(const std::string&, std::vector&, unsigned int, bool, DNSLookupFn) + * for additional parameter descriptions. */ bool LookupHost(const std::string& name, CNetAddr& addr, bool fAllowLookup, DNSLookupFn dns_lookup_function) { @@ -257,7 +257,7 @@ bool Lookup(const std::string& name, std::vector& vAddr, int portDefau /** * Resolve a service string to its first corresponding service. * - * @see Lookup(const char *, std::vector&, int, bool, unsigned int) + * @see Lookup(const std::string&, std::vector&, int, bool, unsigned int, DNSLookupFn) * for additional parameter descriptions. */ bool Lookup(const std::string& name, CService& addr, int portDefault, bool fAllowLookup, DNSLookupFn dns_lookup_function) @@ -277,11 +277,10 @@ bool Lookup(const std::string& name, CService& addr, int portDefault, bool fAllo * Resolve a service string with a numeric IP to its first corresponding * service. * - * @returns The resulting CService if the resolution was successful, [::]:0 - * otherwise. + * @returns The resulting CService if the resolution was successful, [::]:0 otherwise. * - * @see Lookup(const char *, CService&, int, bool) for additional parameter - * descriptions. + * @see Lookup(const std::string&, std::vector&, int, bool, unsigned int, DNSLookupFn) + * for additional parameter descriptions. */ CService LookupNumeric(const std::string& name, int portDefault, DNSLookupFn dns_lookup_function) { -- cgit v1.2.3