shisa_cfg(3)
β¨ shisa_cfg β the shishi library's lil config bestie β¨
okay so bestie, you're reading the manual page for shisa_cfg, which lives in the shishi manual, section 3. it's an API function. it's giving "let me set up your Shisa library real quick." let's go π
πΈ NAME πΈ
shisa_cfg β API function. that's it, that's the name. short, sweet, iconic π
π¦ SYNOPSIS π¦
#include <shisa.h>
int shisa_cfg(Shisa * dbh, const char * option);
like... she's simple. two args. no drama. no cap.
π ARGUMENTS π
Shisa * dbhβ the Shisa library handle. and where does that come from? you guessed it, it's created byshisa(). so make one of those first, bestie, don't come in here empty-handed πconst char * optionβ a string stuffed with options to prime the Shisa library. this is the one that does the talking π¬
β¨ DESCRIPTION β¨
so what she actually does: she configures the Shisa library from the specification in option. the way this works is, option has to be a string declaration shaped like either:
"db=VALUE"
or like:
"db VALUE"
and VALUE? it's the exact same declaration that shisa_cfg_db() takes. which means it's shaped like:
"TYPE[ LOCATION[ PARAMETER]]"
okay and here's the little detail that matters: the prefix "db" is mandatory in option. why tho? because that mandatory "db" is what makes shisa_cfg() suited to a syntax that uses key-value pairs in PARAMETER too. iykyk π§
β RETURN VALUE β
she returns SHISA_OK if option is valid. that's the vibe check passing. periodt π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the people. 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.
and the license tea, fr fr: 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, no royalties, just vibes π«Ά
π SEE ALSO π
the full documentation for shishi is maintained as a Texinfo manual. so if the info and shishi programs are properly installed at your site, then this command:
info shishi
should give you access to the complete manual. go read the whole thing, it's giving main character energy π
and that's the whole page, bestie!! this one came from shishi version 1.0.3, and yeah, it's the shisa_cfg(3) page in all her glory. now go configure something cute and stay hydrated ππ
π¦ where this page comes from
- debian bookworm: libshisa-dev 1.0.3-1+b1 Β· GPL-3.0-or-later
- debian trixie: libshisa-dev 1.0.3-5+b1 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: libshisa-dev 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: libshisa-dev 1.0.3-5
- ubuntu resolute: libshisa-dev 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: libshisa-dev 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