GNUTLS_SRP_ALLOCATE_CLIENT_CREDENTIALS(3)
β¨ gnutls_srp_allocate_client_credentials β¨
okay bestie, welcome to the gnutls manual, section 3, and today's main character is gnutls_srp_allocate_client_credentials π
she's an API function, she's here to set you up, and honestly? she ate.
πΈ NAME πΈ
gnutls_srp_allocate_client_credentials β it's an API function, no cap. that's the whole name section, short and sweet, we move π
π¦ SYNOPSIS π¦
so here's how you pull up on her. first, you gotta include the header, obviously:
#include <gnutls/gnutls.h>
and then the function itself, looking like this:
int
gnutls_srp_allocate_client_credentials(gnutls_srp_client_credentials_t *
sc);
she returns an int, she takes one pointer, she's lowkey elegant about it. periodt β¨
π ARGUMENTS π
gnutls_srp_client_credentials_t * scβ bestie. listen. this one is a pointer to agnutls_srp_server_credentials_ttype. that's literally what the docs say, i'm not making this up, i'm just the messenger π«Ά so yeah, that's the arg, that's what you hand her.
π DESCRIPTION π
she allocates a gnutls_srp_client_credentials_t structure. that's it. that's the job. she's the friend who shows up with the thing you needed before you even asked, and she does it in one line. iconic behavior, honestly π
β RETURNS β
- on success? you get
GNUTLS_E_SUCCESS, which is literally just0. slay. - otherwise you get an error code. not slay, but at least you know π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the gnutls girlies:
- 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: free to copy, free to share, just keep the receipts π)
π₯ SEE ALSO π₯
the full documentation for gnutls lives in a Texinfo manual, bestie. if the /usr/share/doc/gnutls/ directory isn't giving HTML form for you, go here instead:
https://www.gnutls.org/manual/
and that's the vibe check, bestie β every flag, every pointer, every return code, all of it, untouched π
okay bye ily, this was gnutls version 3.8.13, and this little group-chat sermon was brought to you by the gnutls_srp_allocate_client_credentials(3) page. 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