gsasl_server_callback_maxbuf_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

✨ gsasl_server_callback_maxbuf_set(3) ✨

okay so bestie, welcome to the gsasl manual πŸ’… this one's a lil function page, and no cap, it's short but she's got lore.


🌸 NAME 🌸

gsasl_server_callback_maxbuf_set β€” it's an API function, periodt. that's literally the whole name section, she's a woman of few words πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gsasl.h>

void gsasl_server_callback_maxbuf_set(Gsasl * ctx,
Gsasl_server_callback_maxbuf cb);

yes the line break in the middle is just how she's typeset, don't come for her πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • Gsasl * ctx β€” your libgsasl handle, aka the main character of your session πŸ‘‘
  • Gsasl_server_callback_maxbuf cb β€” the callback function itself, the little guy who's gonna do the work ✨

🧚 DESCRIPTION 🧚

so here's the tea β˜• this function sets the callback function that your server uses to tell the client the largest buffer the server can actually receive β€” and this only matters when you're using DIGEST-MD5 with the "auth-int" or "auth-conf" Quality of Protection (aka qop) 🫢

and if you just... forget to set it? no worries bestie, the default value of 65536 gets assumed πŸ’€ the function is lowkey just chillin' with a sensible fallback.

whenever you want her back, you can retrieve her later with gsasl_server_callback_maxbuf_get() β€” she's not lost, she's just resting 🌈


πŸ’€ DEPRECATED πŸ’€

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

the new interface does things differently:

  • you set the application callback with gsasl_callback_set()
  • and you invoke the callback for certain properties using gsasl_callback() or gsasl_property_get()

so like, she still works, but she's your aunt's Facebook account β€” beloved, but there's a newer way πŸ’…


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, tell the devs 🫢


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 πŸ’œ (yes that's a real permission and it's iconic of them honestly)


πŸ‘€ 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, this 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 was brought to you by gsasl 1.10.0 β€” go forth and set your maxbuf callback, or don't, she's deprecated anyway πŸ’… slay πŸ¦‹πŸ’–

πŸ“¦ where this page comes from