@@ -178,7 +178,7 @@ static bool LookupIntern(const std::string& name, std::vector<CNetAddr>& vIP, un
178
178
* @returns Whether or not the specified host string successfully resolved to
179
179
* any resulting network addresses.
180
180
*
181
- * @see Lookup(const char * , std::vector<CService>&, int, bool, unsigned int)
181
+ * @see Lookup(const std::string& , std::vector<CService>&, int, bool, unsigned int, DNSLookupFn )
182
182
* for additional parameter descriptions.
183
183
*/
184
184
bool LookupHost (const std::string& name, std::vector<CNetAddr>& vIP, unsigned int nMaxSolutions, bool fAllowLookup , DNSLookupFn dns_lookup_function)
@@ -199,8 +199,8 @@ bool LookupHost(const std::string& name, std::vector<CNetAddr>& vIP, unsigned in
199
199
/* *
200
200
* Resolve a host string to its first corresponding network address.
201
201
*
202
- * @see LookupHost(const std::string&, std::vector<CNetAddr>&, unsigned int, bool) for
203
- * additional parameter descriptions.
202
+ * @see LookupHost(const std::string&, std::vector<CNetAddr>&, unsigned int, bool, DNSLookupFn)
203
+ * for additional parameter descriptions.
204
204
*/
205
205
bool LookupHost (const std::string& name, CNetAddr& addr, bool fAllowLookup , DNSLookupFn dns_lookup_function)
206
206
{
@@ -257,7 +257,7 @@ bool Lookup(const std::string& name, std::vector<CService>& vAddr, int portDefau
257
257
/* *
258
258
* Resolve a service string to its first corresponding service.
259
259
*
260
- * @see Lookup(const char * , std::vector<CService>&, int, bool, unsigned int)
260
+ * @see Lookup(const std::string& , std::vector<CService>&, int, bool, unsigned int, DNSLookupFn )
261
261
* for additional parameter descriptions.
262
262
*/
263
263
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
277
277
* Resolve a service string with a numeric IP to its first corresponding
278
278
* service.
279
279
*
280
- * @returns The resulting CService if the resolution was successful, [::]:0
281
- * otherwise.
280
+ * @returns The resulting CService if the resolution was successful, [::]:0 otherwise.
282
281
*
283
- * @see Lookup(const char *, CService&, int, bool) for additional parameter
284
- * descriptions.
282
+ * @see Lookup(const std::string&, std::vector< CService> &, int, bool, unsigned int, DNSLookupFn)
283
+ * for additional parameter descriptions.
285
284
*/
286
285
CService LookupNumeric (const std::string& name, int portDefault, DNSLookupFn dns_lookup_function)
287
286
{
0 commit comments