gnutls_x509_dn_init(3)
π gnutls_x509_dn_init(3) π
okay bestie, welcome to the gnutls manual β yes the actual gnutls manual, like the real one, and today's main character is gnutls_x509_dn_init. it's giving tiny function, huge glow-up energy. let's get into it π«Ά
β¨ NAME β¨
gnutls_x509_dn_init β an API function, no cap. just a lil API function doing its lil API function thing π
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_dn_init(gnutls_x509_dn_t * dn);
like, that's the whole vibe. one include, one call. iconic.
π ARGUMENTS π
gnutls_x509_dn_t * dnβ bestie this is the object to be initialized. it's the blank canvas, the empty notebook, the "we're about to make this a real Distinguished Name" moment. you hand it over, it gets set up. periodt. β¨
π DESCRIPTION π
so here's the tea: this function initializes a gnutls_x509_dn_t type. that's it, that's the job, and it does it well. lowkey flawless.
π¨ but listen, and listen closely: the object that comes back to you must be deallocated using gnutls_x509_dn_deinit(). do not ghost it. do not forget it. it is your responsibility now. no cap. π
β RETURNS β
- on success,
GNUTLS_E_SUCCESS(0) is returned π slay, we love a zero - otherwise, you get a negative error value π not the vibe, but at least it tells you
π¦ SINCE π¦
2.4.0 β been holding it down since way back, fr fr. a legacy icon π
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie. 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. so likeβ¦ share it, remix it, it's free, just keep the receipts π§Ύβ¨
π 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, visit:
https://www.gnutls.org/manual/
go read it, i promise it's worth it, iykyk π
and that's the page, bestie π written for gnutls 3.8.13, dated the gnutls way, from the gnutls manual, with love and a whole lot of emoji. now go call gnutls_x509_dn_deinit() when you're done, i'm literally begging ππ«Ά
π¦ 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