shishi_ap_string2option(3)
β¨ shishi_ap_string2option β the shishi manual, section 3 β¨
okay bestie, pull up a chair because we're doing a whole little glow-up on one single function π
π NAME π
shishi_ap_string2option β it's an API function, babes. that's the whole vibe.
πΈ SYNOPSIS πΈ
#include <shishi.h>
Shishi_apoptions shishi_ap_string2option(const char * str);
π¦ ARGUMENTS π¦
const char * strβ a zero terminated character array holding the name of an AP-Option, like for real for real, e.g."use-session-key". that's it, that's the input, she's just a lil string π«Ά
π DESCRIPTION π
so basically? this function takes an AP-Option name and converts it into an AP-Option type. name in, type out. it's giving translator, it's giving matchmaker, it's giving "i know her" πβ¨
β RETURN VALUE β
it hands you back the enumerated type member that corresponds to the AP-Option you asked about. and if the string was not understood? you get 0. that's the "no clue who that is, sorry bestie" answer π
π REPORTING BUGS π
found a bug? not me gatekeeping, go tell the devs:
- Report bugs 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. periodt, the license said what it said π
π 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, this command:
info shishi
should give you access to the complete manual. go read it, i promise it's worth it π§
lowkey iconic that one tiny function has a whole manpage. main character energy fr fr. π
and that's the whole thing, bestie β signed off with love from shishi version 1.0.3, page shishi_ap_string2option(3) π bye mwah π
π¦ 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