SHISHI_AUTHENTICATOR_ADD_AUTHORIZATIONDATA(3)
π shishi_authenticator_add_authorizationdata β the NAME section, bestie π
okay so this is a page from the shishi manual (section 3, the library-functions girlies π«Ά), and the function we're hyping up today is literally called:
shishi_authenticator_add_authorizationdata β an API function β¨
that's it. that's the name. it does exactly what it says on the tin and honestly? we love a transparent icon π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_authenticator_add_authorizationdata(Shishi * handle,
Shishi_asn1 authenticator, int32_t adtype, const char * addata, size_t
addatalen);
so you gotta pull in <shishi.h> first, obviously, and then it hands you back an int. classic. π
π ARGUMENTS π
bestie the arguments are the whole vibe, let's go one by one:
Shishi * handleβ your shishi handle, the one you got when you calledshishi_init(). it's giving β¨main characterβ¨ because literally everything needs it.Shishi_asn1 authenticatorβ the authenticator, as allocated byshishi_authenticator(). yes, that specific one. no substitutions, no random authenticators you found lying around. π«int32_t adtypeβ the input authorization data type you wanna add. it's anint32_t, so it's a whole-number type situation. πconst char * addataβ the input authorization data you're adding. this is the actual content, the payload, the moment. πsize_t addatalenβ the size of the input authorization data you're adding. becauseaddatacan't just wander in with no length, that's unsafe and we don't do that here. π
πΈ DESCRIPTION πΈ
Add authorization data to authenticator.
that's the whole thing. that's the sentence. it adds authorization data to the authenticator. lowkey the most honest description in the whole manual and I'm obsessed. π¦
β RETURN VALUE β
Returns SHISHI_OK iff successful.
note the iff, bestie β if and only if. if it's not SHISHI_OK, it was not successful, and you should go check your vibes accordingly. π
π REPORTING BUGS π
found a bug? not the cute kind? report it to <bug-shishi@gnu.org>. π§
GNU Shishi home page: http://www.gnu.org/software/shishi/
General help using GNU software: http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 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.
slay, that's a genuinely generous license and we respect it. π«Ά
π SEE ALSO π
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. iykyk πβ¨
and that's the page, bestie!! this was shishi_authenti...thorizationdata(3) from the shishi manual, version 1.0.3, and the footer's date energy lives right here at the bottom where it belongs. go forth and add your authorization data. periodt. π
ππ§
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· 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