gnutls_x509_trust_list_init(3)
π gnutls_x509_trust_list_init(3) β the gnutls manual, but make it make sense π
okay bestie, sit down, grab your strawberry matcha π, because we're about to talk about gnutls_x509_trust_list_init from the gnutls manual. yes it's a whole API function, yes it's lowkey iconic, and yes I'm gonna explain it to you like a normal human being. no cap.
β¨ NAME β¨
gnutls_x509_trust_list_init β it's an API function, bestie. that's the whole name. that's it. that's the girl. π
β¨ SYNOPSIS β¨
the way you summon her:
#include <gnutls/x509.h>
int gnutls_x509_trust_list_init(gnutls_x509_trust_list_t * list,
unsigned int size);
like look at that. two arguments. clean. gorgeous. main character energy fr fr. π
β¨ ARGUMENTS β¨
gnutls_x509_trust_list_t * listβ a pointer to the type you wanna initialize. she needs somewhere to live, so hand her a home π β¨unsigned int sizeβ the size of the internal hash table. and listen, if you don't feel like deciding? just use(0)for the default size. that's it. that's the whole vibe. no stress, default size, slay. π
β¨ DESCRIPTION β¨
so basically? this function initializes an X.509 trust list structure. that's the mission. that's what she does. you give her a list and a size, and boom β initialized. it's giving "setting up your little trust list before anything else can happen." πΈπ¦
β¨ RETURNS β¨
on success you get GNUTLS_E_SUCCESS which is (0) β literally the best number. anything else? a negative error value. so if it's negative, something went sideways, and that's your sign ππ
β¨ SINCE β¨
3.0.0 β she's been around, she's a legacy icon, we stan a long-running queen ππ
β¨ REPORTING BUGS β¨
found a bug? don't just text the group chat, actually report it:
- Report bugs 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. (translation: you can share this file, bestie, just keep the receipts π§Ύπ)
β¨ SEE ALSO β¨
the full documentation for gnutls is maintained as a Texinfo manual. and if the /usr/share/doc/gnutls/ directory does not contain the HTML form β rude of it, honestly β you can visit:
https://www.gnutls.org/manual/
and that's the whole page, no notes, every single detail intact, periodt π
kisses and stay compiled, bestie π«Ά β this was gnutls_x509_trust_list_init(3), page from the gnutls manual, version 3.8.13. mwah πβ¨
π¦ 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