removed RRSET_AUTHORITATIVE bit as decided in lengthy

teleconference discussion; some editorial changes
This commit is contained in:
Andreas Gustafsson
2000-11-29 22:55:11 +00:00
parent 2321342255
commit 8b4eaec405
2 changed files with 22 additions and 22 deletions
+11 -11
View File
@@ -13,7 +13,7 @@
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_getrrsetbyname.3,v 1.2 2000/11/18 03:00:29 bwelling Exp $
.\" $Id: lwres_getrrsetbyname.3,v 1.3 2000/11/29 22:55:11 gson Exp $
.Dd Oct 18, 2000
.Dt LWRES_GETRRSETBYNAME 3
@@ -22,7 +22,7 @@
.Sh NAME
.Nm lwres_getrrsetbyname ,
.Nm lwres_freerrset
.Nd retrieve dns records
.Nd retrieve DNS records
.Sh SYNOPSIS
.Fd #include <lwres/netdb.h>
.Fd
@@ -48,9 +48,9 @@ struct rdatainfo {
};
struct rrsetinfo {
unsigned int rri_flags; /* none defined */
unsigned int rri_rdclass; /* need constants... */
unsigned int rri_rdtype; /* need constants... */
unsigned int rri_flags; /* RRSET_VALIDATED... */
unsigned int rri_rdclass; /* class number */
unsigned int rri_rdtype; /* RR type number */
unsigned int rri_ttl; /* time to live */
unsigned int rri_nrdatas; /* size of rdatas array */
unsigned int rri_nsigs; /* size of sigs array */
@@ -62,7 +62,7 @@ struct rrsetinfo {
.Sh DESCRIPTION
.Pp
.Fn lwres_getrrsetbyname
is used to get a set of resource records associated with a
gets a set of resource records associated with a
.Fa hostname ,
.Fa class ,
and
@@ -71,7 +71,7 @@ and
is
a pointer a to null-terminated string. The
.Fa flags
field is currently unused.
field is currently unused and must be zero.
.Pp
After a successful call to
.Fn lwres_getrrsetbyname ,
@@ -82,7 +82,8 @@ structure, containing a list of one or more
.Dv rdatainfo
structures containing resource records and potentially another list of
.Dv rdatainfo
structures containing signatures.
structures containing SIG resource records
associated with those records.
The members
.Li rri_rdclass
and
@@ -100,9 +101,7 @@ are in uncompressed DNS wire format.
Properties of the rdataset are represented in the
.Li rri_flags
bitfield. If the RRSET_VALIDATED bit is set, the data has been DNSSEC
validated and the signatures verified. If the RRSET_AUTHORITATIVE bit
is set, the queried ligghtweight resolver server was authoritative for the
data.
validated and the signatures verified.
.Pp
All of the information returned by
.Fn lwres_getrrsetbyname
@@ -123,6 +122,7 @@ is a pointer to a
.Dv "struct rrset"
created by a call to
.Fn lwres_getrrsetbyname .
.Pp
.Sh RETURN VALUES
.Fn lwres_getrrsetbyname
returns zero on success or an error code if an error occurs. The defined
+11 -11
View File
@@ -13,7 +13,7 @@
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" $Id: lwres_getrrsetbyname.3,v 1.2 2000/11/18 03:00:29 bwelling Exp $
.\" $Id: lwres_getrrsetbyname.3,v 1.3 2000/11/29 22:55:11 gson Exp $
.Dd Oct 18, 2000
.Dt LWRES_GETRRSETBYNAME 3
@@ -22,7 +22,7 @@
.Sh NAME
.Nm lwres_getrrsetbyname ,
.Nm lwres_freerrset
.Nd retrieve dns records
.Nd retrieve DNS records
.Sh SYNOPSIS
.Fd #include <lwres/netdb.h>
.Fd
@@ -48,9 +48,9 @@ struct rdatainfo {
};
struct rrsetinfo {
unsigned int rri_flags; /* none defined */
unsigned int rri_rdclass; /* need constants... */
unsigned int rri_rdtype; /* need constants... */
unsigned int rri_flags; /* RRSET_VALIDATED... */
unsigned int rri_rdclass; /* class number */
unsigned int rri_rdtype; /* RR type number */
unsigned int rri_ttl; /* time to live */
unsigned int rri_nrdatas; /* size of rdatas array */
unsigned int rri_nsigs; /* size of sigs array */
@@ -62,7 +62,7 @@ struct rrsetinfo {
.Sh DESCRIPTION
.Pp
.Fn lwres_getrrsetbyname
is used to get a set of resource records associated with a
gets a set of resource records associated with a
.Fa hostname ,
.Fa class ,
and
@@ -71,7 +71,7 @@ and
is
a pointer a to null-terminated string. The
.Fa flags
field is currently unused.
field is currently unused and must be zero.
.Pp
After a successful call to
.Fn lwres_getrrsetbyname ,
@@ -82,7 +82,8 @@ structure, containing a list of one or more
.Dv rdatainfo
structures containing resource records and potentially another list of
.Dv rdatainfo
structures containing signatures.
structures containing SIG resource records
associated with those records.
The members
.Li rri_rdclass
and
@@ -100,9 +101,7 @@ are in uncompressed DNS wire format.
Properties of the rdataset are represented in the
.Li rri_flags
bitfield. If the RRSET_VALIDATED bit is set, the data has been DNSSEC
validated and the signatures verified. If the RRSET_AUTHORITATIVE bit
is set, the queried ligghtweight resolver server was authoritative for the
data.
validated and the signatures verified.
.Pp
All of the information returned by
.Fn lwres_getrrsetbyname
@@ -123,6 +122,7 @@ is a pointer to a
.Dv "struct rrset"
created by a call to
.Fn lwres_getrrsetbyname .
.Pp
.Sh RETURN VALUES
.Fn lwres_getrrsetbyname
returns zero on success or an error code if an error occurs. The defined