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 a gnutls_psk_server_credentials_t type. 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 Β© 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