mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 04:12:07 +00:00
api: Adapt doc comment to varying parameters
This commit is contained in:
parent
754d628f2d
commit
5b9159ce0d
@ -1260,13 +1260,13 @@ netconn_join_leave_group_netif(struct netconn *conn,
|
|||||||
*
|
*
|
||||||
* @param name a string representation of the DNS host name to query
|
* @param name a string representation of the DNS host name to query
|
||||||
* @param addr a preallocated ip_addr_t where to store the resolved IP address
|
* @param addr a preallocated ip_addr_t where to store the resolved IP address
|
||||||
* @param dns_addrtype IP address type (IPv4 / IPv6)
|
|
||||||
* @return ERR_OK: resolving succeeded
|
* @return ERR_OK: resolving succeeded
|
||||||
* ERR_MEM: memory error, try again later
|
* ERR_MEM: memory error, try again later
|
||||||
* ERR_ARG: dns client not initialized or invalid hostname
|
* ERR_ARG: dns client not initialized or invalid hostname
|
||||||
* ERR_VAL: dns server response was invalid
|
* ERR_VAL: dns server response was invalid
|
||||||
*/
|
*/
|
||||||
#if LWIP_IPV4 && LWIP_IPV6
|
#if LWIP_IPV4 && LWIP_IPV6
|
||||||
|
/** @param dns_addrtype IP address type (IPv4 / IPv6) */
|
||||||
err_t
|
err_t
|
||||||
netconn_gethostbyname_addrtype(const char *name, ip_addr_t *addr, u8_t dns_addrtype)
|
netconn_gethostbyname_addrtype(const char *name, ip_addr_t *addr, u8_t dns_addrtype)
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user