doc: document uv_getnameinfo_t.{host|service}
Fixes: https://github.com/libuv/libuv/issues/182 PR-URL: https://github.com/libuv/libuv/pull/233 Reviewed-By: Tim Caswell <tim@creationix.com>
This commit is contained in:
parent
3b0998c935
commit
8ef34592a9
@ -51,6 +51,18 @@ Public members
|
|||||||
Loop that started this getnameinfo request and where completion will be
|
Loop that started this getnameinfo request and where completion will be
|
||||||
reported. Readonly.
|
reported. Readonly.
|
||||||
|
|
||||||
|
.. c:member:: char[NI_MAXHOST] uv_getnameinfo_t.host
|
||||||
|
|
||||||
|
Char array containing the resulting host. It's null terminated.
|
||||||
|
|
||||||
|
.. versionchanged:: 1.3.0 the field is declared as public.
|
||||||
|
|
||||||
|
.. c:member:: char[NI_MAXSERV] uv_getnameinfo_t.service
|
||||||
|
|
||||||
|
Char array containing the resulting service. It's null terminated.
|
||||||
|
|
||||||
|
.. versionchanged:: 1.3.0 the field is declared as public.
|
||||||
|
|
||||||
.. seealso:: The :c:type:`uv_req_t` members also apply.
|
.. seealso:: The :c:type:`uv_req_t` members also apply.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -799,6 +799,7 @@ struct uv_getnameinfo_s {
|
|||||||
UV_REQ_FIELDS
|
UV_REQ_FIELDS
|
||||||
/* read-only */
|
/* read-only */
|
||||||
uv_loop_t* loop;
|
uv_loop_t* loop;
|
||||||
|
/* host and service are marked as private, but they really aren't. */
|
||||||
UV_GETNAMEINFO_PRIVATE_FIELDS
|
UV_GETNAMEINFO_PRIVATE_FIELDS
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user