dane_state_init(3)
β¨ dane_state_init(3) β¨
okay so bestie, welcome to the gnutls manual π this one's a little function called dane_state_init and honestly? it's giving setup era. let's get into it π«Ά
πΈ NAME πΈ
dane_state_init β API function
π SYNOPSIS π
#include <gnutls/dane.h>
int dane_state_init(dane_state_t * s, unsigned int flags);
π ARGUMENTS π
dane_state_t * sβ the structure that's gonna get initialized. yes, it's your little baby struct, hand it over πΈunsigned int flagsβ the flags, and they come from thedane_state_flagsenumeration. no random numbers pls, iykyk β¨
π¦ DESCRIPTION π¦
so what does this actually do? it initializes the backend resolver. that's the whole vibe π§
and the reason it exists?? it's meant for scenarios where you're doing multiple resolvings β because this way you optimize against multiple re-initializations. so like, instead of setting everything up over and over again (cringe), you init once and then just keep resolving. efficiency queen behavior π
β RETURNS β
on success you get DANE_E_SUCCESS (0) back. slay π
otherwise? a negative error value. not the vibe, but at least it's honest π
π REPORTING BUGS π
found a bug? don't be shy, report it to <bugs@gnutls.org> π«Ά
home page: https://www.gnutls.org
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. iconic licensing behavior, no notes π
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual π if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:
https://www.gnutls.org/manual/
and that's the whole page bestie!! β¨ this lil guy came to you courtesy of gnutls 3.8.13 β go forth, init your state, resolve responsibly, and remember: multiple re-initializations are NOT the move π ππ¦
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms