GNUTLS_X509_NAME_CONSTRAINTS_INIT(3)
π gnutls_x509_name_constraints_init π
okay bestie, so this one lives in the gnutls manual β section 3, to be exact β and it's genuinely one of the cutest lil setup functions you'll ever meet. it's an API function, it's giving "starter pack" energy, and we're gonna walk through it together. no cap. π«Ά
β¨ SYNOPSIS β¨
#include <gnutls/x509.h>
int gnutls_x509_name_constraints_init(gnutls_x509_name_constraints_t *nc);
like, that's the whole vibe. one include, one function, one pointer. slay. π
πΈ ARGUMENTS πΈ
gnutls_x509_name_constraints_t * ncβ this is the nameconstraints. that's it, that's the whole job. you hand it a pointer and it becomes the nameconstraints. main character energy fr fr. π
π¦ DESCRIPTION π¦
so basically this function will initialize a name constraints type. that's literally the assignment. it sets your nc up so it's ready to be a whole name constraints thing. lowkey the most chill init you'll ever call. β¨
π RETURNS π
- on success? you get
GNUTLS_E_SUCCESSβ which is0, and yes bestie, zero is the win here. iconic. - otherwise you get a negative error value. π not the vibe, but at least it tells you.
β SINCE β
3.3.0 β so it's been around a while. seasoned. a legend, honestly.
π REPORTING BUGS π
found a bug? not me manifesting that, but if it happens:
- report bugs to
<bugs@gnutls.org> - home page:
https://www.gnutls.org
please do tell them, they wanna know. π«Ά
π 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.
like, free as in free. we love to see it. π
π 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/
that's your girl. go read her. iykyk. πβ¨
okay so real talk: this page came from thegnutlsmanual, version3.8.13β and the wholegnutls_x509_name_constraints_init(3)page is like, so short and so sweet. anyway, love that for you, bestie. now go initialize some name constraints. periodt. π π¦π
π¦ 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