GNUTLS_PSK_ALLOCATE_SERVER_CREDENTIALS(3)
okay bestie π you've wandered into the gnutls manual, section 3 β this is the gnutls_psk_allocate_server_credentials(3) page, and it's literally the "get me a PSK server credentials thingy" button. it's tiny. it's iconic. let's go π¦
β¨ NAME β¨
gnutls_psk_allocate_server_credentials β API function πΈ
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
int
gnutls_psk_allocate_server_credentials(gnutls_psk_server_credentials_t *
sc);
β¨ ARGUMENTS β¨
gnutls_psk_server_credentials_t * scβ bestie this is a pointer to agnutls_psk_server_credentials_ttype. that's it. that's the whole vibe. π
β¨ DESCRIPTION β¨
Allocate a gnutls_psk_server_credentials_t structure. π
like... it makes one. fresh out of the oven. no cap. π₯
β¨ RETURNS β¨
On success, GNUTLS_E_SUCCESS (0) is returned π«Ά β otherwise you get an error code back and it's giving "not today, bestie" π
β¨ REPORTING BUGS β¨
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. (yes, for real, go off, share it, slay π )
β¨ 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/
lowkey the whole thing is four lines of actual code and yet it's carrying the entire PSK server setup. main character energy fr fr. π§
and that's the page, bestie π this was gnutls version 3.8.13, copyright spanning 2001-2023, brought to you by the Free Software Foundation, Inc. and others β stay hydrated, allocate your credentials, and remember: if it doesn't return GNUTLS_E_SUCCESS (0), it's not a vibe. bye babes πβ¨π
π¦ 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