shisa_principal_find(3)
π shisa_principal_find(3) π
okay bestie, so this is a page from the shishi manual (section 3, the library-call girlies) and it's all about shisa_principal_find β the function that goes and finds your principal for you. it's giving librarian energy but for realms. let's get into it π«Ά
β¨ NAME β¨
shisa_principal_find β an API function, and yes that's literally all the original says, so that's all I'm saying too π
πΈ SYNOPSIS πΈ
#include <shisa.h>
int shisa_principal_find(Shisa * dbh, const char * realm, const char *
principal, Shisa_principal * ph);
like, that's the whole vibe. one include, one function call, four args. easy π
π ARGUMENTS π
Shisa * dbhβ the Shisa library handle, and you get it fromshisa(). it's your little dbh bestie, the thing that holds everything together.const char * realmβ the name of the realm that your principal belongs to. like the group chat your principal is in β¨const char * principalβ the name of the principal you want the tea about. that's who we're investigating πShisa_principal * phβ a pointer to a principal structure that you already allocated earlier (yes, before you called this, bestie β do not show up empty-handed). all the info about the principal gets stored in there. π
π¦ DESCRIPTION π¦
so basically it extracts the info about the given PRINCIPAL@REALM pair β the one you picked out with principal and realm. that's it, that's the job. no cap, it just goes and pulls up the receipts for that pair. π
β RETURN VALUE β
here's the vibe check on what comes back:
SHISA_OKβ slay, it worked πSHISA_NO_REALMβ the realm you named doesn't exist πSHISA_NO_PRINCIPALβ the principal you named doesn't exist π- or, you know, some other error code. generic L, sorry bestie π
π REPORTING BUGS π
found a bug? not the moment we wanted, but okay β 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.
(translation: use it, share it, remix it, just keep the receipts. iconic behavior honestly β¨)
πΈ SEE ALSO πΈ
the full documentation for shishi lives in a Texinfo manual, and if info and the shishi programs are properly installed at your site, this command:
info shishi
should give you access to the complete manual. go read it, i know you want to ππ
anyway that's the whole page, bestie β every flag, every arg, every return code, nothing skipped, we ate and left no crumbs πβ¨
shishi, version 1.0.3, and this little shisa_principal_find(3) page is officially a wrap. mwah π bye!! π¦
π¦ 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