gsasl_client_callback_maxbuf_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸ’– gsasl_client_callback_maxbuf_set(3) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about a lil function from the gsasl manual 🫢 it's giving "old callback interface" and honestly? it's a whole vibe. no cap.


✨ NAME ✨

gsasl_client_callback_maxbuf_set β€” API function πŸ’…


🌸 SYNOPSIS 🌸

#include <gsasl.h>

void gsasl_client_callback_maxbuf_set(Gsasl * ctx,
Gsasl_client_callback_maxbuf cb);

πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl * ctx β€” the libgsasl handle, aka your main character. ✨
  • Gsasl_client_callback_maxbuf cb β€” callback function, the lil bestie that gets called. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, you're telling the client which callback function to use to inform the server of the largest buffer the client is able to receive when it's doing the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). lowkey important if you don't want the server yeeting you a buffer that's way too big. πŸ’€

and listen β€” if this directive is just… missing? ghosted? not set at all? then the default value 65536 gets assumed. periodt. 🫢

later on, if you wanna get that function back, you can retrieve it using gsasl_client_callback_maxbuf_get(). iconic symmetry, we love to see it. 🌈


πŸ’€ DEPRECATED πŸ’€

ngl bestie, this function is part of the old callback interface. it's giving legacy. 😭

the new interface uses gsasl_callback_set() to set the application callback, and then uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties. that's the move now. slay. ✨


πŸ”₯ REPORTING BUGS πŸ”₯

found a bug? not the cute kind?? report it to <bug-gsasl@gnu.org>. πŸ“¬

general guidelines for reporting bugs live at: http://www.gnu.org/gethelp/

and the GNU SASL home page is at: http://www.gnu.org/software/gsasl/


Copyright Β© 2002-2021 Simon Josefsson. πŸ’œ

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. (fr fr, just keep the notice and you're golden. 🫢)


⭐ SEE ALSO ⭐

the full documentation for gsasl is maintained as a Texinfo manual. if the info and gsasl programs are properly installed at your site, the command

info gsasl

should give you access to the complete manual. as an alternative you may obtain the manual from:

http://www.gnu.org/software/gsasl/manual/

and that's the whole page, bestie πŸŽ€ this one's from gsasl 1.10.0, so if you see it in the wild you know exactly where it came from. mwah πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from