gsasl_stringprep_trace(3)
π gsasl_stringprep_trace β bestie edition π
okay so this is a page from the gsasl manual, and we're talking about gsasl_stringprep_trace(3), which is an API function. yes it's real, yes it's in the manual, and yes we're gonna get into it π«Ά
β¨ NAME β¨
gsasl_stringprep_trace β it's an API function, bestie, that's the whole vibe π
πΈ SYNOPSIS πΈ
#include <gsasl.h>
char * gsasl_stringprep_trace(const char * in, int * stringprep_rc);
π ARGUMENTS π
const char * inβ the input string, either ASCII or UTF-8, holding the data you wanna prepare according to"trace". like, this is the thing going in πint * stringprep_rcβ a pointer to an output variable that'll hold the stringprep error code. or you can passNULLif you literally don't care about it, and honestly? valid π
π¦ DESCRIPTION π¦
so the whole point: this function processes a Unicode string so it can be used as trace information, following the "trace" stringprep profile. and that profile? it's designed for use with the SASL ANONYMOUS Mechanism. iykyk π
Return value: it returns a newly allocated string, which is the "trace" processed form of the input string. but if things go sideways it returns NULL on error, and in that case stringprep_rc contains the stringprep library error code. so like, check it, fr fr π
π DEPRECATED π
okay this is the part where we hold hands. there is no replacement functionality in GNU SASL β instead, use GNU Libidn. periodt. don't come for me, i'm just the messenger π
π REPORTING BUGS π
found a bug? not me being dramatic but please tell someone:
- Report bugs to <bug-gsasl@gnu.org>.
- General guidelines for reporting bugs: http://www.gnu.org/gethelp/
- GNU SASL home page: http://www.gnu.org/software/gsasl/
π COPYRIGHT π
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.
(no cap, that's the actual license situation, it's very generous and we love that for us π)
π₯ 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 was gsasl version 1.10.0, and the page is gsasl_stringprep_trace(3). go forth, stringprep responsibly, and remember: deprecated β forgotten, it's just giving "use GNU Libidn instead" energy β¨π
π¦ where this page comes from
- ubuntu jammy: libgsasl-dev 1.10.0-5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms