.ad l
.TH ldns 3 "30 May 2006"
.SH NAME
ldns_zone_sort, ldns_zone_glue_rr_list \- sort a zone and get the glue records

.SH SYNOPSIS
#include <stdint.h>
.br
#include <stdbool.h>
.br
.PP
#include <ldns/ldns.h>
.PP
void ldns_zone_sort(ldns_zone *zone);
.PP
ldns_rr_list* ldns_zone_glue_rr_list(const ldns_zone *z);
.PP

.SH DESCRIPTION
.HP
\fIldns_zone_sort\fR()
Sort the rrs in a zone, with the current impl. this is slow
\.br
\fBzone\fR: the zone to sort
.PP
.HP
\fIldns_zone_glue_rr_list\fR()
Retrieve all resource records from the zone that are glue
records. The resulting list does are pointer references
to the zone's data.

Due to the current zone implementation (as a list of rr's), this
function is extremely slow. Another (probably better) way to do this
is to use an ldns_dnssec_zone structure and the 
ldns_dnssec_mark_and_get_glue() function.

\.br
\fBz\fR: the zone to look for glue
\.br
Returns the rr_list with the glue
.PP
.SH AUTHOR
The ldns team at NLnet Labs.

.SH REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in 
our bugzilla at
http://www.nlnetlabs.nl/bugs/index.html

.SH COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.
.PP
Licensed under the BSD License. There is NO warranty; not even for
MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

.SH SEE ALSO
\fIldns_zone\fR.
And \fBperldoc Net::DNS\fR, \fBRFC1034\fR,
\fBRFC1035\fR, \fBRFC4033\fR, \fBRFC4034\fR  and \fBRFC4035\fR.
.SH REMARKS
This manpage was automatically generated from the ldns source code.