ldns(3)
π ldns(3) β Library Functions Manual π
okay bestie, welcome to ldns(3), the manual page for the ldns library functions. two lil functions today, both about wrangling a ldns_key_list like the queen you are π
β¨ NAME β¨
ldns_key_list_push_key, ldns_key_list_pop_key β manipulate ldns_key_list
like. the whole vibe is "we push keys, we pop keys, we move on." no cap. π
πΈ SYNOPSIS πΈ
first, the includes, because you literally cannot do anything without them:
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
bool ldns_key_list_push_key(ldns_key_list *key_list, ldns_key *key);
ldns_key* ldns_key_list_pop_key(ldns_key_list *key_list);
look at that second one. returns a ldns_key*. iconic pointer energy. π¦
π DESCRIPTION π
π«Ά ldns_key_list_push_key()
ldns_key_list_push_key() pushes a key to a keylist. that's it, that's the whole job. it's giving "add to the end, no drama." β¨
here's the deets:
key_list: thekey_listto push tokey: the key to push- Returns
falseon error, otherwisetrue
so like, if it's mad it tells you with a false. no throwing hands, just a polite bool. π
π ldns_key_list_pop_key()
ldns_key_list_pop_key() pops the last rr from a keylist.
(yeah bestie, the manpage itself says "rr" there, even though we're in key-list land. we do not question the manpage. we simply report it. π«‘)
the deets:
key_list: therr_listto pop from- Returns
NULLif nothing to pop. Otherwise the popped RR
so if the list is empty you get NULL back, and you gotta handle that yourself. no free keys. π«
π AUTHOR π
The ldns team at NLnet Labs. legends, honestly. π
π REPORTING BUGS π
Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues
fr fr if you find a bug, tell them. they wanna know. it's giving teamwork. πβ¨
π 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.
bestie read that again. NO WARRANTY. none. zero. if it breaks, that's a you problem, legally speaking. π (affectionately)
π¦ SEE ALSO π¦
iykyk, those RFCs are the blueprint. go read them if you wanna be a main character. π
π REMARKS π
This manpage was automatically generated from the ldns source code.
so yeah, a robot wrote it, and now a girl on the internet rewrote it for you. the circle of life. π§
and that's the whole page, bestie! this one came from the ldns library functions manual, dated 30 May 2006, and it was auto-generated from the ldns source code. slay, go push some keys π π
π¦ where this page comes from
- alpine 3.22: ldns-doc 1.8.4-r0 Β· BSD-3-Clause
- alpine 3.23: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- alpine 3.24: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- arch rolling: ldns 1.9.2-1 Β· custom:BSD
- debian trixie: libldns-dev 1.8.4-2+b1
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- 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
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- ubuntu questing: libldns-dev 1.8.4-2build1
- ubuntu resolute: libldns-dev 1.8.4-2build3
- 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