shishi_tkts_from_ccache_file(3)
β¨ shishi_tkts_from_ccache_file β¨
okay bestie, welcome to the shishi manual page for shishi_tkts_from_ccache_file(3) β she's a section 3 function, she's from the shishi fam, and she's here to help you slurp tickets out of a ccache file. let's get into it π
π NAME π
shishi_tkts_from_ccache_file β API function
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_tkts_from_ccache_file(Shishi * handle, const char * filename,
Shishi_tkts ** outtkts);
π ARGUMENTS π
Shishi * handleβ the shishi handle, and she has to be one that was allocated byshishi_init(). no bootleg handles, bestie.const char * filenameβ the name of the file you wanna read. like, the actual name. of the file. ποΈShishi_tkts ** outtktsβ a pointer to the ticket set that's gonna get allocated and populated for you. heads up though: the caller has to deallocate it on success. it's giving "you break it, you bought it" but make it memory management π«Ά
π¦ DESCRIPTION π¦
So what she does is read tickets from a ccache data structure and add them to the ticket set. iconic behaviour, honestly.
Now, the ccache format is proprietary (iykyk π), and this function supports β at minimum β the 0x0504 format. if you want the full lore on how the file is laid out, go read the section The Credential Cache Binary File Format in the Shishi manual. it's all there, fr fr.
β RETURNS β
SHISHI_IO_ERRORβ she couldn't read the file. the vibe check failed at the I/O level πSHISHI_CCACHE_ERRORβ the data could not be parsed as a valid ccache structure. the file is not giving ccache, she is not fooled.SHISHI_OKβ success!! slay!! π
π REPORTING BUGS π
Found a bug? not her fault but also please tell someone: 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.
π 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 read it, it's the main character of documentation π
and that's the whole page, bestie π§ this was shishi version 1.0.3, dated with shishi_tkts_from_ccache_file(3) energy β stay hydrated, free your tickets, and don't forget to deallocate πβ¨
π¦ 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