shishi_ap_string2option(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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:


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 πŸ’‹