ldns(3)

πŸ“¦
version 1.9.2 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ldns(3) πŸ’–

okay bestie, so this is a page from the ldns manual β€” like, the Library Functions Manual, and it's all about two lil' functions that push and pop RRs on an RRset. yes it's niche. yes it's iconic. let's get into it πŸŽ€

🌸 NAME 🌸

ldns_rr_set_push_rr, ldns_rr_set_pop_rr β€” push and pop rr on a rrset


✨ SYNOPSIS ✨

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

#include <ldns/ldns.h>

bool ldns_rr_set_push_rr(ldns_rr_list *rr_list, ldns_rr *rr);

ldns_rr* ldns_rr_set_pop_rr(ldns_rr_list *rr_list);

πŸ¦‹ DESCRIPTION πŸ¦‹

ldns_rr_set_push_rr()

she pushes an rr to an rrset β€” and ngl, an "rrset" here is literally just an rr_list under a fancy name. it's giving rebrand, but okay, we move πŸ’…

  • *rr_list β€” the rrset to push the rr to
  • *rr β€” the rr to push

Returns true if the push succeeded, otherwise false. periodt ✨

ldns_rr_set_pop_rr()

she pops the last rr from an rrset. and bestie, the docs are so real for this one: this function is there only for the symmetry. that's it. that's the whole reason. 😭

  • rr_list β€” the rr_list to pop from

Returns NULL if there's nothing to pop. Otherwise, the popped RR 🫢


πŸ’œ AUTHOR πŸ’œ

The ldns team at NLnet Labs. legends only, fr fr πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? do NOT suffer in silence bestie, please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues 🫢


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, no cap, if it breaks it's on you bestie πŸ™ˆ

🌈 SEE ALSO 🌈


⭐ REMARKS ⭐

This manpage was automatically generated from the ldns source code. the way it just appeared, no author, no vibes, just machine output πŸ’€


okay that's the whole page!! this version dropped on 30 May 2006 and it lives under ldns(3), so yeah β€” that's the section, that's the date, that's the whole main character moment. mwah πŸ’‹βœ¨