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 to
  • rr: the RR to add
  • returns LDNS_STATUS_OK on success, and LDNS_STATUS_EQUAL_ERR when 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 to
  • rrs: 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 (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 πŸ’…βœ¨