gsasl_property_free(3)

πŸ’– gsasl_property_free(3) πŸ’–

okay bestie, welcome to the gsasl manual β€” yes, the whole thing lives under the manual name gsasl, and today's main character is gsasl_property_free. it's an API function. that's the whole NAME section. slay. ✨


✨ SYNOPSIS ✨

#include <gsasl.h>

void gsasl_property_free(Gsasl_session * sctx, Gsasl_property prop);

like. look at her. two args, no return value, pure vibes. πŸŽ€


🌸 ARGUMENTS 🌸

  • Gsasl_session * sctx β€” your session handle, aka the little context bestie that's holding all the state. 🫢
  • Gsasl_property prop β€” the enumerated value of the Gsasl_property type that you want to clear. yes, an enum, not a string, don't come for me. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this function deallocates the data associated with property prop in the session handle. bye bye data, you were iconic. 😭

and then β€” the receipts β€” after this call, gsasl_property_fast( sctx , prop ) will always return NULL. always. every single time. no cap. so if you were planning on reading that property back after freeing it, absolutely not, that ship has sailed, she's gone. ⭐


πŸ‘‘ SINCE πŸ‘‘

2.0.0 β€” she's been around, she's established, she's not new here. periodt.


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me ignoring it. report it, bestie:


Copyright Β© 2002-2026 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.

(that's the license line and no we are not paraphrasing it, it's giving legal and it's staying exactly as it is. 🧚)


πŸ“ 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:

https://www.gnu.org/software/libidn/gsasl/manual/

iykyk β€” the Texinfo manual is the real one, go read her. πŸ’œ


and that's the page, bestie!! this was gsasl 2.2.4, the gsasl manual, and yes we're still talking about gsasl_property_free(3). mwah, go free some properties responsibly. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from