diff options
Diffstat (limited to 'lib/lwres/man/lwres_getipnode.html')
-rw-r--r-- | lib/lwres/man/lwres_getipnode.html | 72 |
1 files changed, 28 insertions, 44 deletions
diff --git a/lib/lwres/man/lwres_getipnode.html b/lib/lwres/man/lwres_getipnode.html index 6fe0ec64750a2..a27b3994cb46f 100644 --- a/lib/lwres/man/lwres_getipnode.html +++ b/lib/lwres/man/lwres_getipnode.html @@ -1,5 +1,5 @@ <!-- - - Copyright (C) 2004, 2005, 2007, 2014 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2004, 2005, 2007, 2014, 2015 Internet Systems Consortium, Inc. ("ISC") - Copyright (C) 2000, 2001, 2003 Internet Software Consortium. - - Permission to use, copy, modify, and/or distribute this software for any @@ -14,15 +14,14 @@ - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. --> -<!-- $Id$ --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>lwres_getipnode</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.71.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> </head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"> -<a name="id2476275"></a><div class="titlepage"></div> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry"> +<a name="id-1"></a><div class="titlepage"></div> <div class="refnamediv"> <h2>Name</h2> <p>lwres_getipnodebyname, lwres_getipnodebyaddr, lwres_freehostent — lightweight resolver nodename / address translation API</p> @@ -31,74 +30,59 @@ <h2>Synopsis</h2> <div class="funcsynopsis"> <pre class="funcsynopsisinfo">#include <lwres/netdb.h></pre> -<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"> +<table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"> <tr> <td><code class="funcdef"> struct hostent * <b class="fsfunc">lwres_getipnodebyname</b>(</code></td> -<td>const char * </td> -<td> -<var class="pdparam">name</var>, </td> +<td>const char *<var class="pdparam">name</var>, </td> </tr> <tr> <td> </td> -<td>int </td> -<td> -<var class="pdparam">af</var>, </td> +<td>int <var class="pdparam">af</var>, </td> </tr> <tr> <td> </td> -<td>int </td> -<td> -<var class="pdparam">flags</var>, </td> +<td>int <var class="pdparam">flags</var>, </td> </tr> <tr> <td> </td> -<td>int * </td> -<td> -<var class="pdparam">error_num</var><code>)</code>;</td> +<td>int *<var class="pdparam">error_num</var><code>)</code>;</td> </tr> </table> -<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"> +<div class="funcprototype-spacer"> </div> +<table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"> <tr> <td><code class="funcdef"> struct hostent * <b class="fsfunc">lwres_getipnodebyaddr</b>(</code></td> -<td>const void * </td> -<td> -<var class="pdparam">src</var>, </td> +<td>const void *<var class="pdparam">src</var>, </td> </tr> <tr> <td> </td> -<td>size_t </td> -<td> -<var class="pdparam">len</var>, </td> +<td>size_t <var class="pdparam">len</var>, </td> </tr> <tr> <td> </td> -<td>int </td> -<td> -<var class="pdparam">af</var>, </td> +<td>int <var class="pdparam">af</var>, </td> </tr> <tr> <td> </td> -<td>int * </td> -<td> -<var class="pdparam">error_num</var><code>)</code>;</td> +<td>int *<var class="pdparam">error_num</var><code>)</code>;</td> </tr> </table> -<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr> +<div class="funcprototype-spacer"> </div> +<table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr> <td><code class="funcdef"> void <b class="fsfunc">lwres_freehostent</b>(</code></td> -<td>struct hostent * </td> -<td> -<var class="pdparam">he</var><code>)</code>;</td> +<td>struct hostent *<var class="pdparam">he</var><code>)</code>;</td> </tr></table> +<div class="funcprototype-spacer"> </div> </div> </div> -<div class="refsect1" lang="en"> -<a name="id2543441"></a><h2>DESCRIPTION</h2> +<div class="refsection"> +<a name="id-1.7"></a><h2>DESCRIPTION</h2> <p> These functions perform thread safe, protocol independent nodename-to-address and address-to-nodename @@ -125,7 +109,7 @@ struct hostent { <p> The members of this structure are: </p> -<div class="variablelist"><dl> +<div class="variablelist"><dl class="variablelist"> <dt><span class="term"><code class="constant">h_name</code></span></dt> <dd><p> The official (canonical) name of the host. @@ -165,7 +149,7 @@ struct hostent { types of addresses that are returned. The flag bits are: </p> -<div class="variablelist"><dl> +<div class="variablelist"><dl class="variablelist"> <dt><span class="term"><code class="constant">AI_V4MAPPED</code></span></dt> <dd><p> This is used with an @@ -216,8 +200,8 @@ struct hostent { the <span class="type">hostent</span> structure itself. </p> </div> -<div class="refsect1" lang="en"> -<a name="id2543699"></a><h2>RETURN VALUES</h2> +<div class="refsection"> +<a name="id-1.8"></a><h2>RETURN VALUES</h2> <p> If an error occurs, <code class="function">lwres_getipnodebyname()</code> @@ -231,7 +215,7 @@ struct hostent { The error codes and their meanings are defined in <code class="filename"><lwres/netdb.h></code>: </p> -<div class="variablelist"><dl> +<div class="variablelist"><dl class="variablelist"> <dt><span class="term"><code class="constant">HOST_NOT_FOUND</code></span></dt> <dd><p> No such host is known. @@ -260,8 +244,8 @@ struct hostent { translates these error codes to suitable error messages. </p> </div> -<div class="refsect1" lang="en"> -<a name="id2543796"></a><h2>SEE ALSO</h2> +<div class="refsection"> +<a name="id-1.9"></a><h2>SEE ALSO</h2> <p><span class="citerefentry"><span class="refentrytitle">RFC2553</span></span>, <span class="citerefentry"><span class="refentrytitle">lwres</span>(3)</span>, |