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 a gnutls_psk_client_credentials_t type. 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 is 0, 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:

fr fr, they actually want to know. bugs are just ✨unreported features✨ until someone emails.

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