lwres_getrrsetbyname.html (204619) | lwres_getrrsetbyname.html (205292) |
---|---|
1<!-- 2 - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") 3 - Copyright (C) 2000, 2001 Internet Software Consortium. 4 - 5 - Permission to use, copy, modify, and/or distribute this software for any 6 - purpose with or without fee is hereby granted, provided that the above 7 - copyright notice and this permission notice appear in all copies. 8 - 9 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 12 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 14 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 - PERFORMANCE OF THIS SOFTWARE. 16--> | 1<!-- 2 - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") 3 - Copyright (C) 2000, 2001 Internet Software Consortium. 4 - 5 - Permission to use, copy, modify, and/or distribute this software for any 6 - purpose with or without fee is hereby granted, provided that the above 7 - copyright notice and this permission notice appear in all copies. 8 - 9 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 12 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 14 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 - PERFORMANCE OF THIS SOFTWARE. 16--> |
17<!-- $Id: lwres_getrrsetbyname.html,v 1.23.418.1 2009/07/11 01:55:21 tbox Exp $ --> | 17<!-- $Id: lwres_getrrsetbyname.html,v 1.23.418.1.8.1 2010/02/25 12:16:44 tbox Exp $ --> |
18<html> 19<head> 20<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 21<title>lwres_getrrsetbyname</title> 22<meta name="generator" content="DocBook XSL Stylesheets V1.71.1"> 23</head> 24<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"> | 18<html> 19<head> 20<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 21<title>lwres_getrrsetbyname</title> 22<meta name="generator" content="DocBook XSL Stylesheets V1.71.1"> 23</head> 24<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"> |
25<a name="id2476275"></a><div class="titlepage"></div> | 25<a name="id2476267"></a><div class="titlepage"></div> |
26<div class="refnamediv"> 27<h2>Name</h2> 28<p>lwres_getrrsetbyname, lwres_freerrset — retrieve DNS records</p> 29</div> 30<div class="refsynopsisdiv"> 31<h2>Synopsis</h2> 32<div class="funcsynopsis"> 33<pre class="funcsynopsisinfo">#include <lwres/netdb.h></pre> --- 63 unchanged lines hidden (view full) --- 97 struct rdatainfo *rri_rdatas; /* individual records */ 98 struct rdatainfo *rri_sigs; /* individual signatures */ 99}; 100</pre> 101<p> 102 </p> 103</div> 104<div class="refsect1" lang="en"> | 26<div class="refnamediv"> 27<h2>Name</h2> 28<p>lwres_getrrsetbyname, lwres_freerrset — retrieve DNS records</p> 29</div> 30<div class="refsynopsisdiv"> 31<h2>Synopsis</h2> 32<div class="funcsynopsis"> 33<pre class="funcsynopsisinfo">#include <lwres/netdb.h></pre> --- 63 unchanged lines hidden (view full) --- 97 struct rdatainfo *rri_rdatas; /* individual records */ 98 struct rdatainfo *rri_sigs; /* individual signatures */ 99}; 100</pre> 101<p> 102 </p> 103</div> 104<div class="refsect1" lang="en"> |
105<a name="id2543414"></a><h2>DESCRIPTION</h2> | 105<a name="id2543412"></a><h2>DESCRIPTION</h2> |
106<p><code class="function">lwres_getrrsetbyname()</code> 107 gets a set of resource records associated with a 108 <em class="parameter"><code>hostname</code></em>, <em class="parameter"><code>class</code></em>, 109 and <em class="parameter"><code>type</code></em>. 110 <em class="parameter"><code>hostname</code></em> is a pointer a to 111 null-terminated string. The <em class="parameter"><code>flags</code></em> field 112 is currently unused and must be zero. 113 </p> --- 31 unchanged lines hidden (view full) --- 145 146 <em class="parameter"><code>rrset</code></em> is a pointer to a <span class="type">struct 147 rrset</span> created by a call to 148 <code class="function">lwres_getrrsetbyname()</code>. 149 </p> 150<p></p> 151</div> 152<div class="refsect1" lang="en"> | 106<p><code class="function">lwres_getrrsetbyname()</code> 107 gets a set of resource records associated with a 108 <em class="parameter"><code>hostname</code></em>, <em class="parameter"><code>class</code></em>, 109 and <em class="parameter"><code>type</code></em>. 110 <em class="parameter"><code>hostname</code></em> is a pointer a to 111 null-terminated string. The <em class="parameter"><code>flags</code></em> field 112 is currently unused and must be zero. 113 </p> --- 31 unchanged lines hidden (view full) --- 145 146 <em class="parameter"><code>rrset</code></em> is a pointer to a <span class="type">struct 147 rrset</span> created by a call to 148 <code class="function">lwres_getrrsetbyname()</code>. 149 </p> 150<p></p> 151</div> 152<div class="refsect1" lang="en"> |
153<a name="id2543526"></a><h2>RETURN VALUES</h2> | 153<a name="id2543524"></a><h2>RETURN VALUES</h2> |
154<p><code class="function">lwres_getrrsetbyname()</code> 155 returns zero on success, and one of the following error codes if 156 an error occurred: 157 </p> 158<div class="variablelist"><dl> 159<dt><span class="term"><code class="constant">ERRSET_NONAME</code></span></dt> 160<dd><p> 161 the name does not exist --- 17 unchanged lines hidden (view full) --- 179<dt><span class="term"><code class="constant"></code></span></dt> 180<dd><p></p></dd> 181</dl></div> 182<p> 183 184 </p> 185</div> 186<div class="refsect1" lang="en"> | 154<p><code class="function">lwres_getrrsetbyname()</code> 155 returns zero on success, and one of the following error codes if 156 an error occurred: 157 </p> 158<div class="variablelist"><dl> 159<dt><span class="term"><code class="constant">ERRSET_NONAME</code></span></dt> 160<dd><p> 161 the name does not exist --- 17 unchanged lines hidden (view full) --- 179<dt><span class="term"><code class="constant"></code></span></dt> 180<dd><p></p></dd> 181</dl></div> 182<p> 183 184 </p> 185</div> 186<div class="refsect1" lang="en"> |
187<a name="id2543626"></a><h2>SEE ALSO</h2> | 187<a name="id2543624"></a><h2>SEE ALSO</h2> |
188<p><span class="citerefentry"><span class="refentrytitle">lwres</span>(3)</span>. 189 </p> 190</div> 191</div></body> 192</html> | 188<p><span class="citerefentry"><span class="refentrytitle">lwres</span>(3)</span>. 189 </p> 190</div> 191</div></body> 192</html> |