GNUTLS_PSK_ALLOCATE_CLIENT_CREDENTIALS(3)
β¨ gnutls_psk_allocate_client_credentials β API function β¨
okay bestie, so this one lives in the gnutls manual, section 3 β yeah, the library-functions girlies. and she's a whole API function, no cap. let's get into it π«Ά
πΈ NAME πΈ
gnutls_psk_allocate_client_credentials β literally just, like, the API function. that's her. that's the name. iconic.
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
int
gnutls_psk_allocate_client_credentials(gnutls_psk_client_credentials_t *
sc);
yes, the line break in the middle of the parameter is real, it's in the original, we don't question it π
π ARGUMENTS π
gnutls_psk_client_credentials_t * scβ bestie, this is a pointer to agnutls_psk_client_credentials_ttype. that's it. that's the whole assignment. she points at the thing.
π DESCRIPTION π
so what she does is: allocate a gnutls_psk_client_credentials_t structure. that's the vibe. you give her a pointer, she goes and gets the memory sorted. no notes. π§
β RETURNS β
- on success?
GNUTLS_E_SUCCESS(which is0, and yes, zero means good here, don't panic) gets returned to you like a little gift π - otherwise? you get an error code instead. not slay, but informative.
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the girlies:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
fr fr, they actually want to know. bugs are just β¨unreported featuresβ¨ until someone emails.
π 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: go off, share the file, just keep the receipt π§Ύ)
π 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/
like, if the local docs aren't serving, the website will. she's always there for you π
and that's the whole page, bestie. mwah. this was gnutls version 3.8.13 doing her little thing β sending you so much love from the manpage girlies, bye pookie π©·β¨π¦
π¦ 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