ldns(3)
π ldns β functions for ldns_dnssecrrs π
okay bestie, welcome to the ldns(3) library functions manual, this one's from the ldns crew and it's all about the ldns_dnssec_rrs crew β the little squad of DNSSEC RRs. no cap, it's giving "tiny helpers that do a lot". let's get into it π«Ά
β¨ NAME β¨
ldns_dnssec_rrs_new, ldns_dnssec_rrs_free, ldns_dnssec_rrs_add_rr, ldns_dnssec_rrs_print β functions for ldns_dnssecrrs
πΈ 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);
π¦ DESCRIPTION π¦
ldns_dnssec_rrs_new()
okay so this one exists, it's right there in the synopsis, and the manual literally does not say another word about it. iconic minimalism honestly. π
ldns_dnssec_rrs_free()
frees the list of rrs, but *not* the individual ldns_rr records contained in the list. like, the list goes, the actual RRs stay. do not come for them, they're fine, they have their own lives. π
rrs: the data structure to free
ldns_dnssec_rrs_add_rr()
adds an RR to the list of RRs. the list will remain ordered. and listen β if an equal RR already exists, this RR will not be added. no duplicates allowed in this house, we have standards. β¨
rrs: the list to add torr: the RR to add- returns
LDNS_STATUS_OKon success, andLDNS_STATUS_EQUAL_ERRwhen an RR with equal ownername, class, type and rdata already exists.
ldns_dnssec_rrs_print()
prints the given rrs to the file descriptor. show it off bestie, let it be seen. π
out: the file descriptor to print torrs: the list of RRs to print
π AUTHOR π
the ldns team at NLnet Labs. royalty. periodt.
π REPORTING BUGS π
please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues
fr fr, if something's cursed, tell them β don't just suffer in silence, that's not the vibe. π
π COPYRIGHT π
Copyright (c) 2004 - 2006 NLnet Labs.
licensed under the BSD License. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
so like... use it, love it, but if it breaks, that's on you, not them. no cap. π«Ά
β SEE ALSO β
π§ REMARKS π§
this manpage was automatically generated from the ldns source code. so if the prose is a little dry, that's why β the robots wrote it. π€
π that's the whole page bestie, you ate π
this lil masterpiece dropped on 30 May 2006 and lives at ldns(3) β Library Functions Manual. go forth and DNSSEC responsibly. mwah π β¨
π¦ where this page comes from
- arch rolling: ldns 1.9.2-1 Β· custom:BSD
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- nixos 26.05: ldns 1.9.2
- nixpkgs unstable: ldns 1.9.2
- ubuntu stonking: libldns-dev 1.9.2-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms