gnutls_anon_al...ver_credentials(3)

πŸ’– gnutls_anon_allocate_server_credentials(3) πŸ’–

okay bestie, so this page lives in the gnutls manual β€” section 3, the library-call girlies πŸ’… β€” and it's all about one lil' function that hands you a shiny credentials object for anonymous (no-cert, no-name) server vibes. let's get into it ✨


🌸 NAME 🌸

gnutls_anon_allocate_server_credentials β€” literally just an API function, no cap 🫢


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

int
gnutls_anon_allocate_server_credentials(gnutls_anon_server_credentials_t
* sc);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_anon_server_credentials_t * sc β€” bestie this is a pointer to a gnutls_anon_server_credentials_t type. that's it, that's the whole arg πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

it allocates a gnutls_anon_server_credentials_t structure. that's the entire plot. she's giving "allocator era" and honestly? iconic πŸ‘‘


⭐ RETURNS ⭐

  • GNUTLS_E_SUCCESS on success πŸŽ‰
  • or an error code 😭 (so like, always check, fr fr)

🌈 REPORTING BUGS 🌈

found a bug? not the vibe, but okay β€” report it 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. (so yes, you may absolutely slay, just keep the receipts 🧾✨)


πŸ‘‘ 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, go visit:

https://www.gnutls.org/manual/

lowkey important: this is the anonymous credentials flavour β€” no certs, no names, just vibes. don't come for me if you wanted the real-auth one, iykyk πŸ™ˆ

okay that's the whole page, bestie β€” go forth and allocate responsibly πŸ’…βœ¨

this was gnutls manual page gnutls_anon_allocate_server_credentials(3), from gnutls version 3.8.13 πŸŽ€ mwah, bye!! πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from