logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ldns_dnssec_rrs_new, ldns_dnssec_rrs_free, ldns_dnssec_rrs_add_rr, ldns_dnssec_rrs_print - functions for

Author

       The ldns team at NLnet Labs.

Description

ldns_dnssec_rrs_new()

       ldns_dnssec_rrs_free() Frees the list of rrs, but *not* the individual ldns_rr records contained  in  the
              list

              rrs: the data structure to free

       ldns_dnssec_rrs_add_rr()  Adds  an  RR  to the list of RRs. The list will remain ordered.  If an equal RR
              already exists, this RR will not be added.

              rrs: the list to add to
              rr: the RR to add
              Returns LDNS_STATUS_OK on success

       ldns_dnssec_rrs_print() Prints the given rrs to the file descriptor

              out: the file descriptor to print to
              rrs: the list of RRs to print

Name

       ldns_dnssec_rrs_new,  ldns_dnssec_rrs_free, ldns_dnssec_rrs_add_rr, ldns_dnssec_rrs_print - functions for
       ldns_dnssecrrs

Remarks

       This manpage was automatically generated from the ldns source code.

                                                   30 May 2006                                           ldns(3)

Reporting Bugs

       Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues

See Also

ldns_dnssec_zone.  And perldocNet::DNS, RFC1034, RFC1035, RFC4033, RFC4034  and RFC4035.

Synopsis

       #include <stdint.h>
       #include <stdbool.h>

       #include <ldns/ldns.h>

        ldns_dnssec_rrs_new();

       void ldns_dnssec_rrs_free(ldns_dnssec_rrs *rrs);

       ldns_status ldns_dnssec_rrs_add_rr(ldns_dnssec_rrs *rrs, ldns_rr *rr);

       void ldns_dnssec_rrs_print(FILE *out, const ldns_dnssec_rrs *rrs);

See Also