gnutls_record_get_max_send_size(3)

πŸ“¦
version 3.8.13 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, fedora 43, fedora 44, ubuntu stonking

πŸ’– gnutls_record_get_max_send_size β€” the API function that tells u how much u can yeet πŸ’–

okay bestie, welcome to the gnutls manual, page for gnutls_record_get_max_send_size(3) πŸŽ€ yes this is a real function and yes it's lowkey iconic, let's get into it ✨


✨ NAME ✨

gnutls_record_get_max_send_size β€” it's an API function bestie, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

okay so here's how u pull up on it:

#include <gnutls/gnutls.h>

size_t gnutls_record_get_max_send_size(gnutls_session_t session);

look at that. clean. beautiful. no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_session_t session β€” bestie this is a gnutls_session_t type. that's literally it. that's the whole argument. it's giving "i only need one thing and i need it to be a session" 😌

πŸ’œ DESCRIPTION πŸ’œ

so what does this actually DO? it gets u the maximum plaintext send size πŸ“βœ¨

and here's the tea: that number might be negotiated (like, the two sides talked it out during the handshake, very collaborative of them) or it might be user specified (u just decided, main character energy, ur rules ur world πŸ‘‘).

either way, this function hands u the number. no guessing required. periodt πŸ’…


πŸ”₯ RETURNS πŸ”₯

the maximum plaintext send size. that's it. that's the return value. it's exactly what it says on the tin, fr fr πŸ“¦βœ¨


⭐ SINCE ⭐

3.8.11 β€” so if ur rocking anything older than that, sorry bestie, this one's not for u 😭 (go update, it's giving 2019 energy in here)


🌈 REPORTING BUGS 🌈

found a bug? not me manifesting that but okay, here's where to send it:

they wanna hear from u, bestie. constructive feedback only tho, we're not mean here 🫢


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others. πŸ‘‘

and the legal bit, word for word, bc we respect the paperwork:

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: u can copy and share this, no fee, no drama, just keep the copyright notice and this notice intact. slay, generous, we love to see it πŸ’–


🧚 SEE ALSO 🧚

the full documentation for gnutls is maintained as a Texinfo manual πŸ“š so if the /usr/share/doc/gnutls/ directory does NOT contain the HTML form, bestie, go visit:

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

that's the plug. iykyk 🌸


okay that's the whole page!! this was pulled from the <strong>gnutls 3.8.13</strong> manual release, so if ur out here quoting it, that's the version u got it from πŸ’œ now go get ur max send size and be free, u gorgeous genius πŸ¦‹βœ¨πŸ’…

πŸ“¦ where this page comes from