aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <saghul@gmail.com>2015-02-28 10:34:09 +0100
committerSaúl Ibarra Corretgé <saghul@gmail.com>2015-03-02 16:53:57 +0100
commit8ef34592a92b82146b62656de844929b89f0cfcb (patch)
tree3448918dd3fa1bcd14cb3105e29f229081f328df /docs/src
parent3b0998c93572d61979e2de072ca162c69a981360 (diff)
downloadlibuv-8ef34592a92b82146b62656de844929b89f0cfcb.tar.gz
libuv-8ef34592a92b82146b62656de844929b89f0cfcb.zip
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>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/dns.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/src/dns.rst b/docs/src/dns.rst
index 4fd2a3d9..1d881580 100644
--- a/docs/src/dns.rst
+++ b/docs/src/dns.rst
@@ -51,6 +51,18 @@ Public members
Loop that started this getnameinfo request and where completion will be
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.