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) β€” the girlies' guide to ldns_rdf_set_size, ldns_rdf_set_type and ldns_rdf_set_data πŸ’–

okay bestie, pull up a chair, because this is the ldns library manual, section 3, and we're about to set some rdf attributes. yes, three whole functions. tiny page, huge energy. let's go ✨


🌸 NAME 🌸

ldns_rdf_set_size, ldns_rdf_set_type, ldns_rdf_set_data β€” set rdf attributes

like. that's the whole job description. setters. three of them. iconic honestly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

first, the includes, because you can't just manifest these functions into existence:

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

#include <ldns/ldns.h>

and now the stars of the show:

void ldns_rdf_set_size(ldns_rdf *rd, size_t size);

void ldns_rdf_set_type(ldns_rdf *rd, ldns_rdf_type type);

void ldns_rdf_set_data(ldns_rdf *rd, void *data);

note that they're all void β€” they give nothing back. no return value, no little treat, no closure. they simply do the thing and move on. main character behaviour fr fr πŸ‘‘


✨ DESCRIPTION ✨

ldns_rdf_set_size()

sets the size of the rdf.

  • rd β€” the rdf to operate on 🫢
  • size β€” the new size
  • Returns void

ldns_rdf_set_type()

sets the size of the rdf.

  • rd β€” the rdf to operate on 🫢
  • type β€” the new type
  • Returns void

ldns_rdf_set_data()

sets the size of the rdf.

  • rd β€” the rdf to operate on 🫢
  • data β€” pointer to the new data
  • Returns void
not me noticing all three of them say "sets the size of the rdf" 😭 that's literally what the page says, so that's literally what I'm telling you. don't come for me, I'm just the messenger πŸ“

and yeah β€” all three are void, all three take *rd first, and all three are just here to swap something out inside your rdf. no cap. πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. legends, honestly.


πŸ› REPORTING BUGS πŸ›

found something cursed? don't suffer in silence, bestie. report it to dns-team@nlnetlabs.nl or on GitHub at:

https://github.com/NLnetLabs/ldns/issues

they will read it. probably. πŸ’€


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.

read that again. no warranty. not even the implied ones. it's giving "use at your own risk" and it means it. πŸ™ˆ

🌈 SEE ALSO 🌈


🧚 REMARKS 🧚

This manpage was automatically generated from the ldns source code. so if a sentence sounds a little robotic, that's because a machine wrote it and then I got my hands on it. glow-up complete. ✨


and that's the whole page, babe β€” ldns(3), dated 30 May 2006, from the ldns library manual. go set some rdf attributes, you absolute icon πŸ’…πŸŒΈπŸ’–