shishi_tkts_from_ccache_mem(3)
π shishi_tkts_from_ccache_mem(3) π
okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_tkts_from_ccache_mem β an API function that's lowkey doing the most (affectionate). β¨
π NAME π
shishi_tkts_from_ccache_mem β it's an API function, bestie. that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_tkts_from_ccache_mem(Shishi * handle, const char * data,
size_t len, Shishi_tkts ** outtkts);
literally just four args and a dream π«Ά
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, and no you can't just make one up, it's gotta be allocated byshishi_init(). it's giving "bring your own handle" energy. πconst char * dataβ a constant memory buffer holding a ccache of sizelen. yes, const, meaning hands off, we're just looking respectfully. πsize_t lenβ the size of that memory buffer with the ccache data in it. it's the how-much of the whole situation. πShishi_tkts ** outtktsβ pointer to the ticket set that will get allocated and populated for you. heads up though: the caller has to deallocate it on succes (and yes, the original really does spell it "succes", we love a typo queen π). that's your ticket set now, bestie, you own it.
π DESCRIPTION π
so what does this icon actually do? it reads tickets from a ccache data structure and adds them to the ticket set. that's it, that's the job. π
now the tea: the ccache format is proprietary, and this function supports (at least) the 0x0504 format. if you wanna know the gritty details, 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. iykyk. πβ¨
β RETURNS β
- it hands back
SHISHI_CCACHE_ERRORif the data does not represent a valid ccache structure (rip, invalid vibes π) - and
SHISHI_OKon success (slay π)
π REPORTING BUGS π
found a bug? don't be shy, 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/
fr fr, the maintainers wanna hear about it β bugs don't fix themselves, bestie π
π 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: share it, remix it, just keep the receipt π§Ύπ)
π§ 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 off, read the whole thing, it's giving β¨ complete β¨.
and that's the page, bestie!! π«Ά this was shishi version 1.0.3, dated with all the love, and the page is shishi_tkts_from_ccache_mem(3) β periodt. πππ¦
π¦ 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