shishi_tkts_add_ccache_mem(3)
π shishi_tkts_add_ccache_mem(3) π
okay bestie, welcome to the shishi corner of the manual β this page is literally called shishi_tkts_add_ccache_mem and it lives in section 3, the "these are library functions, not commands, don't @ me" section π
β¨ NAME β¨
shishi_tkts_add_ccache_mem β bestie, it's an API function π«Ά
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_tkts_add_ccache_mem(Shishi * handle, const char * data,
size_t len, Shishi_tkts * tkts);
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, and no you can't just manifest one, you get it fromshishi_init()πconst char * dataβ a constant memory buffer holding a ccache oflensize. it's giving "raw bytes, do not touch" β¨size_t lenβ the size of that memory buffer with the ccache data. the vibe check on how many bytes we're reading π₯Shishi_tkts * tktsβ an allocated key set where the tickets are gonna be stored. this is the lil home the tickets move into π
π DESCRIPTION π
Read tickets from a ccache data structure, and add them to the ticket set. that's it, that's the whole personality β read 'em, drop 'em in, slay π
The ccache format is proprietary, and this function supports (at least) the 0x0504 format. so yeah, at minimum that one, no promises about the mysterious ones π
See the section The Credential Cache Binary File Format in the Shishi manual for a description of the file format. iykyk, go read it, it's all there π
β RETURNS β
- Returns
SHISHI_CCACHE_ERRORif the data does not represent a valid ccache structure π - and
SHISHI_OKon success π
like. it tells you which one. iconic behavior honestly.
π REPORTING BUGS π
Report bugs to <bug-shishi@gnu.org>. bestie if you find a bug, tell the GNU people, they wanna know fr fr π
- 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. periodt π
π 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 get that deep lore, bestie πβ¨
no cap: every flag, every arg, every return code above is exactly what the page said. the attitude is free, the facts are sacred π«Ά
shishi version 1.0.3, page shishi_tkts_add_ccache_mem(3) β that's a wrap, mwah ππΈ
π¦ 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