shishi_tkts_add_ccache_file(3)
π shishi_tkts_add_ccache_file(3) π
okay so bestie, we're in the shishi manual, section 3, and today's main character is shishi_tkts_add_ccache_file β an API function that's literally just out here collecting tickets for you. let's get into it π
β¨ NAME β¨
shishi_tkts_add_ccache_file β API function π«Ά
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_tkts_add_ccache_file(Shishi * handle, const char * filename,
Shishi_tkts * tkts);
β¨ ARGUMENTS β¨
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). it's giving foundation, it's giving everything-runs-through-me πconst char * filenameβ the name of the file we're reading from. yes bestie, that file.Shishi_tkts * tktsβ an allocated ticket set, aka the little home where the tickets are gonna live. we're moving them in π
β¨ DESCRIPTION β¨
So what does it do? It reads tickets out of a ccache data structure and adds them to the ticket set. simple as that, no cap.
Now here's the tea: the ccache format is proprietary, and this function supports (at least) the 0x0504 format. if you want the full lore, go read the section The Credential Cache Binary File Format in the Shishi manual β it has a whole description of the file format waiting for you πβ¨
β¨ RETURNS β¨
SHISHI_IO_ERRORβ when the file cannot be read π (it's not you, it's the file)SHISHI_CCACHE_ERRORβ when the data cannot be parsed as a valid ccache structure πSHISHI_OKβ success!! we ate, no crumbs π
β¨ REPORTING BUGS β¨
Found a bug? spill the tea 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. (iconic behaviour tbh, we love a permissive license π)
β¨ 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. go forth and read, bestie ππ
and that's a wrap on the shishi manual, version 1.0.3 β page shishi_tkts_add_ccache_file(3). stay hydrated, read your manpages, and remember: tickets don't add themselves π
β¨π¦
π¦ 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